FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
dev-batfish.github.io/docs/script.js at master · alb-17la/dev-batfish.github.io · GitHub
alb-17la
/
dev-batfish.github.io
Public
forked from
batfish/batfish.github.io
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
dev-batfish.github.io
/
docs
/
script.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
30 lines (29 loc) · 827 Bytes
Breadcrumbs
dev-batfish.github.io
/
docs
/
script.js
Copy path
File metadata and controls
30 lines (29 loc) · 827 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
function
show
(
type
)
{
count
=
0
;
for
(
var
key
in
methods
)
{
var
row
=
document
.
getElementById
(
key
)
;
if
(
(
methods
[
key
]
&
type
)
!=
0
)
{
row
.
style
.
display
=
''
;
row
.
className
=
(
count
++
%
2
)
?
rowColor
:
altColor
;
}
else
row
.
style
.
display
=
'none'
;
}
updateTabs
(
type
)
;
}
function
updateTabs
(
type
)
{
for
(
var
value
in
tabs
)
{
var
sNode
=
document
.
getElementById
(
tabs
[
value
]
[
0
]
)
;
var
spanNode
=
sNode
.
firstChild
;
if
(
value
==
type
)
{
sNode
.
className
=
activeTableTab
;
spanNode
.
innerHTML
=
tabs
[
value
]
[
1
]
;
}
else
{
sNode
.
className
=
tableTab
;
spanNode
.
innerHTML
=
"<a href=\"javascript:show("
+
value
+
");\">"
+
tabs
[
value
]
[
1
]
+
"</a>"
;
}
}
}
Back
|
FazBrowse Home
|
New Git URL