Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 35: | Line 35: | ||
var submenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors']; | var submenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors']; | ||
for( var i=0; i<submenus.length; i++){ | for( var i=0; i<submenus.length; i++){ | ||
+ | alert(i); | ||
if (elem == 'none'){ | if (elem == 'none'){ | ||
document.getElementById(submenus[i]).style.display = "none"; | document.getElementById(submenus[i]).style.display = "none"; |
Revision as of 10:53, 4 July 2011