Template:Team:HKU-HKBU/header

From 2009.igem.org

(Difference between revisions)
 
(19 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>     
     </div>     
-
     <div class="glossymenu"  id="glossymenu">
+
     <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>
Line 52: Line 62:
<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>
Line 61: Line 72:
<div class="submenu">
<div class="submenu">
<ul>
<ul>
-
                 <li><img src="https://static.igem.org/mediawiki/2009/6/6e/Part_1.png" style="margin: 10px 5px" /></li>
+
                 <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 70: Line 81:
<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 79: Line 91:
<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>
     </div>
-
     <div class="glossymenu"  id="glossymenu">
+
     <div class="glossymenu"  id="glossymenu3">
-
<a class="menuitem submenuheader" href="https://2009.igem.org/Team:HKU-HKBU/Human_Practice" >Human Practice</a>
+
<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="http://www.biochem.hku.hk/synbio/lecture" target="_blank">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