Team:Cornell/templates/wetnav

From 2013.igem.org

(Difference between revisions)
Line 67: Line 67:
{ var liFT = document.getElementById("liFungalToolkit")
{ var liFT = document.getElementById("liFungalToolkit")
liFT.className="active";
liFT.className="active";
-
var childLi = liFT.children;
+
var childLi = liFT.children[1].children;
for(var i = 0; i < childLi.length; i++) { alert(childLi[i].id); childLi[i].className="inactive"; }
for(var i = 0; i < childLi.length; i++) { alert(childLi[i].id); childLi[i].className="inactive"; }
}
}

Revision as of 19:57, 25 September 2013