Team:Alberta/LeftBar

From 2009.igem.org

(Difference between revisions)
 
(124 intermediate revisions not shown)
Line 1: Line 1:
-
{{:Team:Alberta/LeftBarCSS}}
+
<html>
 +
<head>
 +
<style type="text/css">
 +
<!--
 +
ul#menu {
 +
  width: 158px;
 +
  list-style: none;
 +
  border-top: solid 1px #b9a894;
 +
  margin: 20px13px7px;
 +
  padding: 0;
 +
  position: relative;
 +
  float: left;
 +
}
-
<div id="menu">
+
ul#menu ol {
 +
  display: none;
 +
  text-align: center;
 +
  list-style-type: none;
 +
  margin: 0px 0;
 +
  padding: 0;
 +
}
 +
ul#menu li,
 +
  ul#menu a {
 +
  font-family: "Trebuchet MS", Arial, Sans-serif;
 +
  font-size: 13px;
 +
  color: #000000;
 +
  margin: 0;
 +
}
 +
 +
ul#menu li {
 +
  border-bottom: solid 1px #b9a894;
 +
  line-height: 15px;
 +
}
 +
 +
ul#menu ol li {
 +
  border-bottom: none;
 +
}
 +
 +
ul#menu ol li:before {
 +
  content: "";
 +
}
 +
 +
ul#menu a {
 +
  display: block;
 +
  width: 150px;
 +
  height:  19px;
 +
  border: 1px solid #bbb;
 +
  margin-top: 0px;
 +
  background:  url(https://static.igem.org/mediawiki/2009/0/03/UofA_MainLink.gif) no-repeat left top;
 +
  padding: 2px 4px;
 +
  text-decoration: none;
 +
  color: #000
 +
  outline: none;
 +
}
 +
 +
ul#menu a:hover {
 +
    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 {
 +
    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;
 +
}
 +
-->
 +
</style>
 +
 +
<script type="text/javascript">
 +
<!--
 +
/* This script and many more are available free online at
 +
The JavaScript Source :: http://javascript.internet.com
 +
Created by: Travis Beckham :: http://www.squidfingers.com | http://www.podlob.com */
 +
 +
/* Coded by Travis Beckham
 +
  http://www.squidfingers.com | http://www.podlob.com
 +
  version date: 06/02/03
 +
  If want to use this code, feel free to do so, but please leave this message intact. */
 +
 +
// Node Functions
 +
 +
if(!window.Node){
 +
  var Node = {ELEMENT_NODE : 1, TEXT_NODE : 3};
 +
}
 +
 +
function checkNode(node, filter){
 +
  return (filter == null || node.nodeType == Node[filter] || node.nodeName.toUpperCase() == filter.toUpperCase());
 +
}
 +
 +
function getChildren(node, filter){
 +
  var result = new Array();
 +
  var children = node.childNodes;
 +
  for(var i = 0; i < children.length; i++){
 +
    if(checkNode(children[i], filter)) result[result.length] = children[i];
 +
  }
 +
  return result;
 +
}
 +
 +
function getChildrenByElement(node){
 +
  return getChildren(node, "ELEMENT_NODE");
 +
}
 +
 +
function getFirstChild(node, filter){
 +
  var child;
 +
  var children = node.childNodes;
 +
  for(var i = 0; i < children.length; i++){
 +
    child = children[i];
 +
    if(checkNode(child, filter)) return child;
 +
  }
 +
  return null;
 +
}
 +
 +
function getFirstChildByText(node){
 +
  return getFirstChild(node, "TEXT_NODE");
 +
}
 +
 +
function getNextSibling(node, filter){
 +
  for(var sibling = node.nextSibling; sibling != null; sibling = sibling.nextSibling){
 +
    if(checkNode(sibling, filter)) return sibling;
 +
  }
 +
  return null;
 +
}
 +
function getNextSiblingByElement(node){
 +
        return getNextSibling(node, "ELEMENT_NODE");
 +
}
 +
 +
// Menu Functions & Properties
 +
 +
var activeMenu;
 +
var lastClicked;
 +
 +
function showMenu() {
 +
  if(activeMenu){
 +
    activeMenu.className = "";
 +
    getNextSiblingByElement(activeMenu).style.display = "none";
 +
  }
 +
  if(this == activeMenu)
 +
  {
 +
    activeMenu = null;
 +
    lastClicked = null;
 +
  } else {
 +
    this.className = "active";
 +
    getNextSiblingByElement(this).style.display = "block";
 +
    activeMenu = this;
 +
    lastClicked = this.textContent;
 +
    window.name = lastClicked;
 +
  }
 +
 +
return false;
 +
 
 +
 +
}
 +
 +
function initMenu(){
 +
  var menus, menu, text, a, i;
 +
  menus = getChildrenByElement(document.getElementById("menu"));
 +
 
 +
  for(i = 0; i < menus.length; i++){
 +
    menu = menus[i];
 +
    text = getFirstChildByText(menu);
 +
    a = document.createElement("a");
 +
    menu.replaceChild(a, text);
 +
    a.appendChild(text);
 +
    a.href = "#";
 +
    a.onclick = showMenu;
 +
    a.onfocus = function(){this.blur()};
 +
    if (a.textContent == window.name)
 +
    {
 +
      a.className = "active";
 +
      getNextSiblingByElement(a).style.display = "block";
 +
      activeMenu = a;
 +
    }
 +
 +
  }
 +
 
 +
 
 +
}
 +
 +
if(document.createElement) window.onload = initMenu;
 +
//-->
 +
</script>
 +
 +
 +
</head>
 +
<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">
 +
<li>DNA Assembly
 +
    <ol>
 +
      <lie><a href="https://2009.igem.org/Team:Alberta/Project/assemblyoverview">Overview</a>
 +
      <li><a href="https://2009.igem.org/Team:Alberta/ByteCreation">Byte Creation</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>
 +
  </li>
 +
<li>Automation
 +
    <ol>
 +
      <li><a href="https://2009.igem.org/Team:Alberta/Project/AutomationOverview">Overview</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>
 +
    </ol>
 +
  </li>
 +
  <li>Organism Design
 +
    <ol>
 +
      <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>
 +
  </li>
 +
  <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>
 +
      <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/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>
 +
  </li>
 +
</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">
<ul>
<ul>
<li>[[Team:Alberta | Home]]</li>
<li>[[Team:Alberta | Home]]</li>
Line 8: Line 253:
<ul>
<ul>
-
<li class="menu_header">Project</li>
+
<li class="menu_header">Project</li></ul>
<hr>
<hr>
<hr>
<hr>
-
<li>[https://2009.igem.org/Team:Alberta/Project/Bioinformatics Bioinformatics]</li>
+
 
-
<li>[[Team:Alberta/Project/Primer_Design | Primer Design]]</li>
+
<ul id="menu>>
-
<li>[[Team:Alberta/Project/Promoters_&_Terminators | Promoters & Terminators]]</li>
+
 
 +
<li>[[Team:Alberta/Project/Bioinformatics | '''Bioinformatics''']]
 +
<ol><li>[[Team:Alberta/Project/Primer_Design | Primer Design]]</li>
 +
<li>[[Team:Alberta/Project/Promoters_&_Terminators | Promoters/Terminators]]</li>
<li>[[Team:Alberta/Project/Modeling | Modeling]]</li>
<li>[[Team:Alberta/Project/Modeling | Modeling]]</li>
-
<li>[[Team:Alberta/Project/Gene_Selection | Essential Gene Selection]]</li>
+
<li>[[Team:Alberta/Project/Gene_Selection | Gene Selection]]</li>
 +
</ol>
 +
</li>
 +
</ul>
 +
 
<hr>
<hr>
<hr>
<hr>
-
<li>[https://2009.igem.org/Team:Alberta/Project/Automation Automation]</li>
+
<li>[[Team:Alberta/Project/Automation | '''Automation''']]</li>
<li>[[Team:Alberta/Project/Microfluidics | Microfluidics]]</li>
<li>[[Team:Alberta/Project/Microfluidics | Microfluidics]]</li>
<hr>
<hr>
<hr>
<hr>
-
<li>[[Team:Alberta/Project/Assembly_Process | Assembly Process]]</li>
+
<li>[[Team:Alberta/Project/Assembly_Process | '''Assembly Process''']]</li>
<hr>
<hr>
<hr>
<hr>
-
<li>[[Team:Alberta/Project/Recombineering | Recombineering]]</li>
+
<li>[[Team:Alberta/Project/Recombineering | '''Recombineering''']]</li>
<hr>
<hr>
<hr>
<hr>
-
<li>[[Team:Alberta/Project/Cell_Reboot | Cell Reboot]]</li>
+
<li>[[Team:Alberta/Project/Cell_Reboot | '''Cell Reboot''']]</li>
<hr>
<hr>
<hr>
<hr>
-
<li>[[Team:Alberta/Project/Parts | Parts]]</li>
+
<li>[[Team:Alberta/Project/Parts | '''Parts''']]</li>
<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>
</div>
</div>
 +
-->
 +
</body>
 +
 +
</html>

Latest revision as of 23:44, 21 October 2009