Team:Heidelberg/Templates/StartPage

From 2013.igem.org

(Difference between revisions)
m
m
Line 34: Line 34:
}
}
var navi_links = document.getElementById("navigation-bar").getElementsByTagName("A");
var navi_links = document.getElementById("navigation-bar").getElementsByTagName("A");
-
alert(navi_links.length);
 
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].className = "navi-highlight";
navi_links[i].className = "navi-highlight";
-
alert("found link");
 
break;
break;
}
}

Revision as of 14:50, 17 August 2013

PHILOSOPHER'S STONE

igem-2013

{{{1}}}

Go to top