Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 30: | Line 30: | ||
document.getElementById(submenus[i]).style.display = "none"; | document.getElementById(submenus[i]).style.display = "none"; | ||
// document.getElementById(id).getElementsByTagName('span').style.display='none'; | // document.getElementById(id).getElementsByTagName('span').style.display='none'; | ||
- | } | + | }else{ |
- | + | ||
- | + | ||
document.getElementById(submenus[i]).style.display = "block"; | document.getElementById(submenus[i]).style.display = "block"; | ||
// document.getElementById(id).getElementsByTagName('span').style.display='block'; | // document.getElementById(id).getElementsByTagName('span').style.display='block'; | ||
} | } | ||
+ | alert(submenus[i]); | ||
} | } | ||
} | } | ||
- | alert('am gasit: ' | + | alert('am gasit: terminat'); |
} | } | ||
Revision as of 18:26, 3 July 2011