Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 37: | Line 37: | ||
if( submenus[i] != elem ){ | if( submenus[i] != elem ){ | ||
document.getElementById(submenus[i]).style.display = 'none'; | document.getElementById(submenus[i]).style.display = 'none'; | ||
- | |||
} | } | ||
else{ | else{ | ||
document.getElementById(submenus[i]).style.display = 'block'; | document.getElementById(submenus[i]).style.display = 'block'; | ||
- | |||
} | } | ||
} | } |
Revision as of 16:50, 3 July 2011