Team:Heidelberg/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
JuliaS1992 (Talk | contribs) m |
JuliaS1992 (Talk | contribs) m |
||
Line 33: | Line 33: | ||
item.style.display = "none"; | item.style.display = "none"; | ||
} | } | ||
- | var navi_links = document.getElementById("navigation- | + | var navi_links = document.getElementById("navigation-bar").getElementsByTagName("A"); |
for (var i = 0; i < navi_links.length; i++) { | for (var i = 0; i < navi_links.length; i++) { | ||
if (document.documentURI.indexOf(navi_links[i].href) !== -1) { | if (document.documentURI.indexOf(navi_links[i].href) !== -1) { |
Revision as of 14:43, 17 August 2013