File tree Expand file tree Collapse file tree 1 file changed +39
-4
lines changed Expand file tree Collapse file tree 1 file changed +39
-4
lines changed Original file line number Diff line number Diff line change 51
51
}
52
52
} ;
53
53
</ script >
54
-
55
- </ head >
56
- < body >
57
54
55
+ < script type ="text/javascript ">
56
+ function toggle_vis ( id ) {
57
+ var e = document . getElementById ( id ) ;
58
+ if ( e . style . display == 'none' )
59
+ e . style . display = 'inline' ;
60
+ else
61
+ e . style . display = 'none' ;
62
+ }
63
+ </ script >
64
+
65
+ < script >
66
+ function myFunction ( ) {
67
+ var x = document . getElementById ( "myLinks" ) ;
68
+ if ( x . style . display === "inline" ) {
69
+ x . style . display = "none" ;
70
+ } else {
71
+ x . style . display = "inline" ;
72
+
73
+ }
74
+ }
75
+
76
+ function reverseLinks ( ) {
77
+ var container = document . getElementById ( "myLinks" ) ;
78
+ var links = Array . from ( container . getElementsByTagName ( 'a' ) ) ;
79
+ container . innerHTML = '' ;
80
+ for ( var i = links . length - 1 ; i >= 0 ; i -- ) {
81
+ container . appendChild ( links [ i ] ) ;
82
+ }
83
+ }
84
+ </ script >
85
+
58
86
<!-- Navigation Bar -->
59
87
< div class ="topnav ">
60
88
< div id ="myLinks ">
61
89
{% include navigation.md %}
62
90
</ div >
63
91
< a href ="javascript:void(0); " class ="icon " onclick ="myFunction();reverseLinks() ">
64
- < i class ="fa fa-bars "> </ i >
92
+ < i class ="fa fa-bars "> </ i >
65
93
</ a >
66
94
</ div >
95
+
96
+
97
+
98
+
99
+ </ head >
100
+ < body >
101
+
67
102
68
103
< div class ="wrapper ">
69
104
< header >
You can’t perform that action at this time.
0 commit comments