Team:Alberta/LeftBar
From 2009.igem.org
(Difference between revisions)
Line 149: | Line 149: | ||
if(this == activeMenu) | if(this == activeMenu) | ||
{ | { | ||
- | + | activeMenu = null; | |
} else { | } else { | ||
this.className = "active"; | this.className = "active"; | ||
getNextSiblingByElement(this).style.display = "block"; | getNextSiblingByElement(this).style.display = "block"; | ||
activeMenu = this; | activeMenu = this; | ||
+ | window.name = this; | ||
} | } | ||
return false; | return false; |
Revision as of 22:19, 10 October 2009
|