Team:Heidelberg/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
JuliaS1992 (Talk | contribs) m |
JuliaS1992 (Talk | contribs) m |
||
Line 18: | Line 18: | ||
if (document.documentURI.indexOf(navi_links[i].href) !== -1) { | if (document.documentURI.indexOf(navi_links[i].href) !== -1) { | ||
navi_links[i].className = "navi-highlight"; | navi_links[i].className = "navi-highlight"; | ||
- | var element = | + | var element = navi_links[i]; |
while (element.parentNode.parentNode.tagName == "UL") { | while (element.parentNode.parentNode.tagName == "UL") { | ||
var element = element.parentNode.parentNode; | var element = element.parentNode.parentNode; |
Revision as of 14:18, 19 August 2013