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++){ | ||
- | |||
if (elem == 'none'){ | if (elem == 'none'){ | ||
document.getElementById(submenus[i]).style.display = "none"; | document.getElementById(submenus[i]).style.display = "none"; | ||
Line 36: | Line 35: | ||
// document.getElementById(id).getElementsByTagName('span').style.display='block'; | // document.getElementById(id).getElementsByTagName('span').style.display='block'; | ||
} | } | ||
- | |||
} | } | ||
} | } | ||
- | |||
} | } | ||
Revision as of 18:32, 3 July 2011