Team:Alberta/LeftBar

From 2009.igem.org

(Difference between revisions)
Line 154: Line 154:
     getNextSiblingByElement(this).style.display = "block";
     getNextSiblingByElement(this).style.display = "block";
     activeMenu = this;
     activeMenu = this;
-
     lastClicked = this.name;
+
     lastClicked = this.getElementID();
      
      
   }
   }
Line 166: Line 166:
   var menus, menu, text, a, i;
   var menus, menu, text, a, i;
   menus = getChildrenByElement(document.getElementById("menu"));
   menus = getChildrenByElement(document.getElementById("menu"));
-
   var lastClicked = window.name;
+
    
   for(i = 0; i < menus.length; i++){
   for(i = 0; i < menus.length; i++){
     menu = menus[i];
     menu = menus[i];

Revision as of 22:45, 10 October 2009