Team:Heidelberg/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
JuliaS1992 (Talk | contribs) m |
JuliaS1992 (Talk | contribs) m |
||
Line 5: | Line 5: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
<!-- | <!-- | ||
- | |||
- | |||
function check_size() { | function check_size() { | ||
var viewportWidth = document.documentElement.clientWidth; | var viewportWidth = document.documentElement.clientWidth; | ||
Line 34: | Line 32: | ||
} | } | ||
item.style.display = "none"; | item.style.display = "none"; | ||
+ | } | ||
+ | var navi_links = document.getElementById("navigation-left").getElementsByTagName("A"); | ||
+ | for (var i = 0; i < navi_links.length; i++) { | ||
+ | if (document.documentURI.indexOf(navi_links[i].href) !== -1) { | ||
+ | navi_links[i].class = "navi-highlight"; | ||
+ | break; | ||
+ | } | ||
} | } | ||
} | } |
Revision as of 14:42, 17 August 2013