Team:Freiburg/Templates/header
From 2011.igem.org
(Difference between revisions)
Line 19: | Line 19: | ||
var id = 'sub-'+ url; | var id = 'sub-'+ url; | ||
hideSubmenu(id); | hideSubmenu(id); | ||
- | + | // highlightMenuItem(id); | |
//} | //} | ||
} | } | ||
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'; | ||
+ | // document.getElementById(id).getElementsByTagName('span').style.display='none'; | ||
} | } | ||
else{ | else{ | ||
document.getElementById(submenus[i]).style.display = 'block'; | document.getElementById(submenus[i]).style.display = 'block'; | ||
+ | // document.getElementById(id).getElementsByTagName('span').style.display='block'; | ||
} | } | ||
} | } |
Revision as of 16:55, 3 July 2011