Team:Alberta/LeftBar

From 2009.igem.org

(Difference between revisions)
 
(111 intermediate revisions not shown)
Line 5: Line 5:
ul#menu {
ul#menu {
   width: 158px;
   width: 158px;
-
   list-style-type: none;
+
   list-style: none;
   border-top: solid 1px #b9a894;
   border-top: solid 1px #b9a894;
-
   margin: 20px13px07px;
+
   margin: 20px13px7px;
   padding: 0;
   padding: 0;
   position: relative;
   position: relative;
Line 15: Line 15:
ul#menu ol {
ul#menu ol {
   display: none;
   display: none;
-
   text-align: right;
+
   text-align: center;
   list-style-type: none;
   list-style-type: none;
-
   margin: 0010px 0;
+
   margin: 0px 0;
   padding: 0;
   padding: 0;
}
}
Line 23: Line 23:
ul#menu li,  
ul#menu li,  
   ul#menu a {
   ul#menu a {
-
   font-family: verdana, sans-serif;
+
   font-family: "Trebuchet MS", Arial, Sans-serif;
-
   font-size: 11px;
+
   font-size: 13px;
-
   color: #785a3c;
+
   color: #000000;
   margin: 0;
   margin: 0;
}
}
Line 39: Line 39:
ul#menu ol li:before {
ul#menu ol li:before {
-
   content: "- ";
+
   content: "";
}
}
Line 47: Line 47:
   height:  19px;
   height:  19px;
   border: 1px solid #bbb;
   border: 1px solid #bbb;
-
   margin-top: 1px;
+
   margin-top: 0px;
   background:  url(https://static.igem.org/mediawiki/2009/0/03/UofA_MainLink.gif) no-repeat left top;
   background:  url(https://static.igem.org/mediawiki/2009/0/03/UofA_MainLink.gif) no-repeat left top;
   padding: 2px 4px;
   padding: 2px 4px;
Line 56: Line 56:
ul#menu a:hover {
ul#menu a:hover {
-
  color: #539dbc;
+
    display: block;
 +
    width: 150px;
 +
    height: 19px;
 +
    border: 1px solid #bbb;
 +
    margin-top: 1px;
 +
    background: url(https://static.igem.org/mediawiki/2009/a/a2/UofA_HoverLink.gif) no-repeat left top;
 +
    padding: 2px 4px;
 +
    color: #0000ff;
}
}
ul#menu a.active {
ul#menu a.active {
-
  color: #be5028;
+
    display: block;
 +
    margin: 0;
 +
    padding: 2px 4px;
 +
    width: 150px;
 +
    text-decoration: none;
 +
    font-weight: bold;
 +
    background: url(https://static.igem.org/mediawiki/2009/1/10/UofA_Main.gif) repeat-x bottom;
}
}
-->
-->
Line 125: Line 138:
// Menu Functions & Properties
// Menu Functions & Properties
-
var activeMenu = null;
+
var activeMenu;
 +
var lastClicked;
function showMenu() {
function showMenu() {
Line 132: 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 145: 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 154: 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 165: Line 196:
<body>
<body>
-
 
+
<table align=left cellspacing=0 cellpadding=0>
-
 
+
<tr><td><BR><img src="https://static.igem.org/mediawiki/2009/e/ed/UofA09_MainPrjt.png" hspace=19></td></tr>
 +
<tr><td>
<ul id="menu">
<ul id="menu">
-
  <li>Menu Item 1
+
<li>DNA Assembly
     <ol>
     <ol>
-
       <li><a href="#">Sub Item 1.1</a></li>
+
       <lie><a href="https://2009.igem.org/Team:Alberta/Project/assemblyoverview">Overview</a>
-
       <li><a href="#">Sub Item 1.2</a></li>
+
      <li><a href="https://2009.igem.org/Team:Alberta/ByteCreation">Byte Creation</a></li>
-
       <li><a href="#">Sub Item 1.3</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/Optimization">Optimization</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/plasmidconstruct">Plasmid Constructs</a></li>
     </ol>
     </ol>
   </li>
   </li>
-
  <li>Menu Item 2
+
<li>Automation
     <ol>
     <ol>
-
       <li><a href="#">Sub Item 2.1</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Project/AutomationOverview">Overview</a></li>
-
       <li><a href="#">Sub Item 2.2</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Microfluidics">Microfluidics</a></li>
-
       <li><a href="#">Sub Item 2.3</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Automation">DIY Automation</a></li>
     </ol>
     </ol>
   </li>
   </li>
-
   <li>Menu Item 3
+
   <li>Organism Design
     <ol>
     <ol>
-
       <li><a href="#">Sub Item 3.1</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Bioinformatics">Overview</a>
-
       <li><a href="#">Sub Item 3.2</a></li>
+
      <li><a href="https://2009.igem.org/Team:Alberta/Project/Gene_Selection">Gene Selection</a></li>
-
       <li><a href="#">Sub Item 3.3</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>
   </li>
   </li>
-
   <li>Menu Item 4
+
   <li>Chromosome Assembly
     <ol>
     <ol>
-
       <li><a href="#">Sub Item 4.1</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Chromosome Assembly">Overview</a></li>
-
      <li><a href="#">Sub Item 4.2</a></li>
+
  <li><a href="https://2009.igem.org/Team:Alberta/Project/Recombineering">Recombineering</a></li>
-
      <li><a href="#">Sub Item 4.3</a></li>
+
     </ol>
     </ol>
-
   </li>
+
   <li>Human Practices
-
  <li>Menu Item 5
+
     <ol>
     <ol>
-
       <li><a href="#">Sub Item 5.1</a></li>
+
       <li><a href="https://2009.igem.org/Team:Alberta/Project/Outreach">Overview</a></li>
-
       <li><a href="#">Sub Item 5.2</a></li>
+
      <li><a href="https://2009.igem.org/Team:Alberta/Project/Presentations">Presentations</a></li>
-
       <li><a href="#">Sub Item 5.3</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>
 +
</td></tr></table>
<!--
<!--
-
 
<div id="menu">
<div id="menu">
-
 
<ul>
<ul>
<li>[[Team:Alberta | Home]]</li>
<li>[[Team:Alberta | Home]]</li>
Line 248: 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