Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 22: | Line 22: | ||
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('in for : '+submenus[i]); | + | alert('in for : '+elem+" " +submenus[i]); |
if (elem == 'none'){ | if (elem == 'none'){ | ||
document.getElementById(submenus[i]).style.display = "none"; | document.getElementById(submenus[i]).style.display = "none"; |
Revision as of 18:28, 3 July 2011