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