Team:Alberta/LeftBar

From 2009.igem.org

(Difference between revisions)
Line 140: Line 140:
var activeMenu = null;
var activeMenu = null;
-
var lastClicked = null;
 
function showMenu() {
function showMenu() {
Line 154: Line 153:
     getNextSiblingByElement(this).style.display = "block";
     getNextSiblingByElement(this).style.display = "block";
     activeMenu = this;
     activeMenu = this;
-
     lastClicked = this;
+
     window.name = this;
-
     window.name = lastClicked;
+
      
   }
   }
   return false;
   return false;

Revision as of 22:25, 10 October 2009