Mercurial > web-octave
annotate _includes/footer.html @ 51:40cbddf42ce4 kai
Repair download tabs.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Wed, 28 Sep 2016 21:51:37 +0200 |
parents | 171ca967fcc9 |
children | 2e2e9feba1f3 |
rev | line source |
---|---|
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
1 <footer> |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
2 Copyright © 1998-2016 John W. Eaton. |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
3 Verbatim copying and distribution is permitted in any medium, |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
4 provided this notice is preserved. |
5
e210b708b330
fill in site content
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
0
diff
changeset
|
5 </footer> |
0
7abe02bf29ec
initial commit
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
diff
changeset
|
6 |
5
e210b708b330
fill in site content
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
0
diff
changeset
|
7 <script> |
46
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
8 function myFunction() { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
9 var x = document.getElementById("myTopnav"); |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
10 if (x.className === "topnav") { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
11 x.className += " responsive"; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
12 } else { |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
13 x.className = "topnav"; |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
14 } |
171ca967fcc9
Start new development branch closer to the current website,
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
35
diff
changeset
|
15 } |
51 | 16 |
17 function openCity(evt, cityName) { | |
18 var i, tabcontent, tablinks; | |
19 tabcontent = document.getElementsByClassName("tabcontent"); | |
20 for (i = 0; i < tabcontent.length; i++) { | |
21 tabcontent[i].style.display = "none"; | |
22 } | |
23 tablinks = document.getElementsByClassName("tablinks"); | |
24 for (i = 0; i < tablinks.length; i++) { | |
25 tablinks[i].className = tablinks[i].className.replace(" active", ""); | |
26 } | |
27 document.getElementById(cityName).style.display = "block"; | |
28 evt.currentTarget.className += " active"; | |
29 } | |
5
e210b708b330
fill in site content
Alex Krolick <whokilledtheelectricmonk@gmail.com>
parents:
0
diff
changeset
|
30 </script> |