Template:Team:HKU-HKBU/header

From 2009.igem.org

(Difference between revisions)
 
(30 intermediate revisions not shown)
Line 18: Line 18:
animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
-
           var menuBar = document.getElementById("glossymenu");
+
           var menuBar2 = document.getElementById("glossymenu2");
-
  var aNodes  = menuBar.getElementsByTagName("a");
+
  var aNodes  = menuBar2.getElementsByTagName("a");
  for (var i = 0; i < aNodes.length; i++)
  for (var i = 0; i < aNodes.length; i++)
  {
  {
Line 25: Line 25:
    {
    {
               aNodes[i].style.fontWeight = "bold";
               aNodes[i].style.fontWeight = "bold";
 +
    }
 +
  }
 +
 +
          var menuBar3 = document.getElementById("glossymenu3");
 +
  var aNodes1  = menuBar3.getElementsByTagName("a");
 +
  for (var i = 0; i < aNodes1.length; i++)
 +
  {
 +
    if(aNodes1[i].attributes.getNamedItem("href").value == document.URL)
 +
    {
 +
              aNodes1[i].style.fontWeight = "bold";
    }
    }
  }
  }
Line 43: Line 53:
   </div>
   </div>
   <div id="leftnav">
   <div id="leftnav">
-
     <div class="glossymenu"  id="glossymenu">
+
     <div class="glossymenu"  id="glossymenu1">
<a class="menuitem" href="https://2009.igem.org/Team:HKU-HKBU">Home</a>
<a class="menuitem" href="https://2009.igem.org/Team:HKU-HKBU">Home</a>
-
     <div class="glossymenu"  id="glossymenu">
+
    </div>   
-
    </div>
+
     <div class="glossymenu"  id="glossymenu2">
<a class="menuitem" href="https://2009.igem.org/Team:HKU-HKBU/Project">Project</a>
<a class="menuitem" href="https://2009.igem.org/Team:HKU-HKBU/Project">Project</a>
<a class="menuitem" href="https://2009.igem.org/Team:HKU-HKBU/Parts">Parts</a>
<a class="menuitem" href="https://2009.igem.org/Team:HKU-HKBU/Parts">Parts</a>
-
<a class="menuitem submenuheader" href="https://2009.igem.org/Team:HKU-HKBU/Motor_Overview" >Device 1: Micro-Motor</a>
+
<a class="menuitem submenuheader" href="https://2009.igem.org/Team:HKU-HKBU/Motor_Overview" >Device 1:<br />Micro-Motor</a>
<div class="submenu">
<div class="submenu">
<ul>
<ul>
 +
                <li><img src="https://static.igem.org/mediawiki/2009/7/70/Motor_menu_icon.gif" style="margin: 10px 10px" /></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Motor_Overview">Overview</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Motor_Overview">Overview</a></li>
-
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Motor_Membrane_Version">Membrane Version</a></li>
+
                <li><a href="https://2009.igem.org/Team:HKU-HKBU/Motor_Design">Design</a></li>
-
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Motor_Silicon_Version">Silicon Version</a></li>
+
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Motor_Preliminary_Trials">Preliminary Trials</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Motor_Methodology">Methodology</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Motor_Methodology">Methodology</a></li>
</ul>
</ul>
</div>
</div>
-
<a class="menuitem submenuheader" href="https://2009.igem.org/Team:HKU-HKBU/Polar_Expression_Design">Device 2: Direction Controller</a>
+
<a class="menuitem submenuheader" href="https://2009.igem.org/Team:HKU-HKBU/Polar_Expression_Design">Device 2:<br />Direction Controller</a>
<div class="submenu">
<div class="submenu">
<ul>
<ul>
 +
                <li><img src="https://static.igem.org/mediawiki/2009/a/a8/PolarExp_menu_icon.gif" style="margin: 10px 10px" /></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Polar_Expression_Design">Design</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Polar_Expression_Design">Design</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Polar_Expression_Results">Results</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Polar_Expression_Results">Results</a></li>
Line 66: Line 78:
</ul>
</ul>
</div>
</div>
-
<a class="menuitem submenuheader" href="https://2009.igem.org/Team:HKU-HKBU/Speed_Control_Design" >Device 3: Speed Controller</a>
+
<a class="menuitem submenuheader" href="https://2009.igem.org/Team:HKU-HKBU/Speed_Control_Design" >Device 3:<br />Speed Controller</a>
<div class="submenu">
<div class="submenu">
<ul>
<ul>
 +
                <li><img src="https://static.igem.org/mediawiki/2009/1/1b/SpdCtrl_menu_icon.gif" style="margin: 10px 10px" /></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Speed_Control_Design">Design</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Speed_Control_Design">Design</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Speed_Control_Results">Results</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Speed_Control_Results">Results</a></li>
Line 74: Line 87:
</ul>
</ul>
</div>
</div>
-
<a class="menuitem submenuheader" href="https://2009.igem.org/Team:HKU-HKBU/Assembly" >Assembly</a>
+
<a class="menuitem" href="https://2009.igem.org/Team:HKU-HKBU/Assembly" >Assembly</a>
-
<div class="submenu">
+
-
<ul>
+
-
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Assembly">Assembly</a></li>
+
-
</ul>
+
-
</div>
+
<a class="menuitem" href="https://2009.igem.org/Team:HKU-HKBU/Modeling" >Modeling</a>
<a class="menuitem" href="https://2009.igem.org/Team:HKU-HKBU/Modeling" >Modeling</a>
<a class="menuitem" href="https://2009.igem.org/Team:HKU-HKBU/Application" >Applications</a>
<a class="menuitem" href="https://2009.igem.org/Team:HKU-HKBU/Application" >Applications</a>
-
    <div class="glossymenu"  id="glossymenu">
 
     </div>
     </div>
-
<a class="menuitem submenuheader" href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice" >Human Practice</a>
+
    <div class="glossymenu"  id="glossymenu3">
 +
<a class="menuitem submenuheader" href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice" >Human Practices Advance</a>
<div class="submenu">
<div class="submenu">
<ul>
<ul>
 +
                <li><img src="https://static.igem.org/mediawiki/2009/6/61/Human_practice_logo.JPG" style="margin: 10px 10px" /></li>
                 <li><a href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice">Overview</a></li>
                 <li><a href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice">Overview</a></li>
                 <li><a href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice_Questionnaire">Questionnaire</a></li>
                 <li><a href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice_Questionnaire">Questionnaire</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice_Website">Website</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice_Website">Website</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice_Interview">Interview</a></li>
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice_Interview">Interview</a></li>
-
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice_Lecture">Lecture</a></li>
+
<li><a href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice_Lecture">Introductory Lecture</a></li>
</ul>
</ul>
</div>
</div>

Latest revision as of 18:19, 21 October 2009