Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 32: | Line 32: | ||
function hideSubmenu( elem ){ | function hideSubmenu( elem ){ | ||
var submenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors']; | var submenus= ['sub-team','sub-project', 'sub-home', 'sub-gallery', 'sub-sponsors']; | ||
+ | var subMenuList = "attributions#members#freiburg#"; | ||
+ | if (subMenuList.search(elem)){ | ||
+ | alert(document.getElementById(submenus[i]).getParentNode()); | ||
+ | } | ||
for( var i=0; i<submenus.length; i++){ | for( var i=0; i<submenus.length; i++){ | ||
if (elem == 'none'){ | if (elem == 'none'){ |
Revision as of 15:06, 14 July 2011