Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 27: | Line 27: | ||
else{ | else{ | ||
if( submenus[i] != elem ){ | if( submenus[i] != elem ){ | ||
- | |||
- | |||
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'; | ||
Line 34: | Line 32: | ||
else{ | 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'; | ||
Line 40: | Line 37: | ||
} | } | ||
} | } | ||
+ | alert('am gasit: '+submenus[i]); | ||
} | } | ||
Revision as of 18:11, 3 July 2011