Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 37: | Line 37: | ||
if (elem == 'none'){ | if (elem == 'none'){ | ||
document.getElementById(submenus[i]).style.display = "none"; | document.getElementById(submenus[i]).style.display = "none"; | ||
+ | alert("else: "+submenus[i]); | ||
} | } | ||
else{ | else{ | ||
Line 45: | Line 46: | ||
} | } | ||
}else{ | }else{ | ||
- | |||
if(document.getElementById(submenus[i]) != null){ | if(document.getElementById(submenus[i]) != null){ | ||
document.getElementById(submenus[i]).style.display = "block"; | document.getElementById(submenus[i]).style.display = "block"; |
Revision as of 11:01, 4 July 2011