Team:Heidelberg/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
JuliaS1992 (Talk | contribs) m |
JuliaS1992 (Talk | contribs) m |
||
Line 17: | Line 17: | ||
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) { | ||
- | navi_links[i]. | + | navi_links[i].style.color = "#FFCC00"; |
var element = navi_links[i]; | var element = navi_links[i]; | ||
while (element.parentNode.parentNode.tagName == "UL") { | while (element.parentNode.parentNode.tagName == "UL") { |
Revision as of 16:16, 19 August 2013