Team:Heidelberg/Templates/StartPage

From 2013.igem.org

(Difference between revisions)
m
m
Line 48: Line 48:
}
}
function expand_left_navi(drop_list) {
function expand_left_navi(drop_list) {
-
var ul = drop_list;
+
var list = drop_list;
-
while (ul.tagName !== "UL") {
+
while (list.tagName !== "UL") {
-
var ul = drop_list.nextSibling;
+
var list = drop_list.nextSibling;
}
}
-
var visible = ul.style.display;
+
var visible = list.style.display;
var drop_lists = document.getElementsByClassName("drop-navi-left");
var drop_lists = document.getElementsByClassName("drop-navi-left");
for (var i = 0; i < drop_lists.length; i++) {
for (var i = 0; i < drop_lists.length; i++) {
Line 62: Line 62:
}
}
if (visible == "none") {
if (visible == "none") {
-
ul.style.display = "block";
+
list.style.display = "block";
} else {
} else {
-
ul.style.display = "none";
+
list.style.display = "none";
}
}
}
}

Revision as of 15:22, 16 August 2013

PHILOSOPHER'S STONE

igem-2013

{{{1}}}

Go to top