Team:Alberta/LeftBar

From 2009.igem.org

(Difference between revisions)
 
(55 intermediate revisions not shown)
Line 138: Line 138:
// Menu Functions & Properties
// Menu Functions & Properties
-
var activeMenu = null;
+
var activeMenu;
 +
var lastClicked;
function showMenu() {
function showMenu() {
Line 145: Line 146:
     getNextSiblingByElement(activeMenu).style.display = "none";
     getNextSiblingByElement(activeMenu).style.display = "none";
   }
   }
-
   if(this == activeMenu){
+
   if(this == activeMenu)
 +
  {
     activeMenu = null;
     activeMenu = null;
 +
    lastClicked = null;
   } else {
   } else {
     this.className = "active";
     this.className = "active";
     getNextSiblingByElement(this).style.display = "block";
     getNextSiblingByElement(this).style.display = "block";
     activeMenu = this;
     activeMenu = this;
-
   }
+
    lastClicked = this.textContent;
-
  return false;
+
    window.name = lastClicked;
 +
   }  
 +
 
 +
return false;
 +
 
 +
 
}
}
Line 158: Line 166:
   var menus, menu, text, a, i;
   var menus, menu, text, a, i;
   menus = getChildrenByElement(document.getElementById("menu"));
   menus = getChildrenByElement(document.getElementById("menu"));
 +
 
   for(i = 0; i < menus.length; i++){
   for(i = 0; i < menus.length; i++){
     menu = menus[i];
     menu = menus[i];
Line 167: Line 176:
     a.onclick = showMenu;
     a.onclick = showMenu;
     a.onfocus = function(){this.blur()};
     a.onfocus = function(){this.blur()};
 +
    if (a.textContent == window.name)
 +
    {
 +
      a.className = "active";
 +
      getNextSiblingByElement(a).style.display = "block";
 +
      activeMenu = a;
 +
    }
 +
   }
   }
 +
 
 +
 
}
}
Line 182: Line 200:
<tr><td>
<tr><td>
<ul id="menu">
<ul id="menu">
-
  <li>Bioinformatics
+
<li>DNA Assembly
     <ol>
     <ol>
-
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Bioinformatics">Overview</a>
+
       <lie><a href="https://2009.igem.org/Team:Alberta/Project/assemblyoverview">Overview</a>
-
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Gene_Selection">Gene Selection</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/ByteCreation">Byte Creation</a></li>
-
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Primer_Design">Primer Design</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/DNAanchor">Anchor/Terminator</a></li>
-
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Promoters_&_Terminators">Promoter/Terminator</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Optimization">Optimization</a></li>
-
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Modeling">Modeling</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Project/linearconstruct">Linear Constructs</a></li>
-
       <li><a href="https://2009.igem.org/Team:Alberta/Project/ModelValid">Model Validation</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/plasmidconstruct">Plasmid Constructs</a></li>
     </ol>
     </ol>
   </li>
   </li>
-
  <li>DNA Assembly
+
<li>Automation
     <ol>
     <ol>
-
       <lie><a href="https://2009.igem.org/Team:Alberta/Project/Assembly_Process">Overview</a>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Project/AutomationOverview">Overview</a></li>
-
      <li><a href="https://2009.igem.org/Team:Alberta/Splasmids">Standard Plasmids</a></li>
+
-
      <li><a href="https://2009.igem.org/Team:Alberta/Project/Parts">Part Library</a></li>
+
-
      <li><a href="https://2009.igem.org/Team:Alberta/plasmidconstruct">Plasmids Constructed</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Microfluidics">Microfluidics</a></li>
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Microfluidics">Microfluidics</a></li>
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Automation">DIY Automation</a></li>
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Automation">DIY Automation</a></li>
-
      <li><a href="https://2009.igem.org/">Lethbridge Project</a></li>
 
     </ol>
     </ol>
   </li>
   </li>
-
   <li>Recombineering
+
   <li>Organism Design
     <ol>
     <ol>
-
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Recombineering">Overview</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Bioinformatics">Overview</a>
 +
      <li><a href="https://2009.igem.org/Team:Alberta/Project/Gene_Selection">Gene Selection</a></li>
 +
      <li><a href="https://2009.igem.org/Team:Alberta/Project/Modeling">Modeling</a></li>
 +
      <li><a href="https://2009.igem.org/Team:Alberta/Project/ModelValid">Model Validation</a></li>
 +
      <li><a href="https://2009.igem.org/Team:Alberta/Project/Promoters_&_Terminators">Promoter/Terminator</a></li>
 +
      <li><a href="https://2009.igem.org/Team:Alberta/Project/Primer_Design">Primer Design</a></li>
     </ol>
     </ol>
-
<hr>
+
  </li>
-
   <li>Outreach
+
  <li>Chromosome Assembly
 +
    <ol>
 +
      <li><a href="https://2009.igem.org/Team:Alberta/Project/Chromosome Assembly">Overview</a></li>
 +
  <li><a href="https://2009.igem.org/Team:Alberta/Project/Recombineering">Recombineering</a></li>
 +
    </ol>
 +
   <li>Human Practices
     <ol>
     <ol>
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Outreach">Overview</a></li>
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Outreach">Overview</a></li>
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Presentations">Presentations</a></li>
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Presentations">Presentations</a></li>
-
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Surveys">Surveys</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Surveys">Feedback</a></li>
 +
      <li><a href="https://2009.igem.org/Team:Alberta/Project/UofADebate">U of A Debate</a></li>
 +
      <li><a href="https://2009.igem.org/Team:Alberta/Project/Debate_Outreach"> HS Debate Outreach</a></li>
 +
      <li><a href="https://2009.igem.org/Team:Alberta/Project/Safety">Safety</a></li>
     </ol>
     </ol>
   </li>
   </li>
</ul>
</ul>
-
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
+
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
</td></tr></table>
</td></tr></table>
Line 259: Line 286:
<hr>
<hr>
<hr>
<hr>
-
<li>[[Team:Alberta/Project/Outreach | '''Outreach''']]</li>
+
<li>[[Team:Alberta/Project/Outreach | '''Ethics Debate''']]</li>
 +
<hr>
 +
<hr>
 +
<li>[[Team:Alberta/Project/Parts | '''Outreach''']]</li>
</ul>
</ul>

Latest revision as of 23:44, 21 October 2009