Team:Cornell/templates/backnav

From 2013.igem.org

(Difference between revisions)
 
Line 11: Line 11:
<li id="liOverview">
<li id="liOverview">
<a href="https://2013.igem.org/Team:Cornell/project/background">Overview</a>
<a href="https://2013.igem.org/Team:Cornell/project/background">Overview</a>
-
</li>
 
-
<li id="liToolkit">
 
-
<a href="https://2013.igem.org/Team:Cornell/project/background/fungal_toolkit">Fungal Toolkit</a>
 
</li>
</li>
<li id="liEngineering">
<li id="liEngineering">
Line 33: Line 30:
if(h=="https://2013.igem.org/Team:Cornell/project/background")
if(h=="https://2013.igem.org/Team:Cornell/project/background")
{ document.getElementById("liOverview").className="active"; }
{ document.getElementById("liOverview").className="active"; }
-
else if(h.indexOf("project/background/fungal_toolkit") != -1)
 
-
{ document.getElementById("liToolkit").className="active"; }
 
else if(h.indexOf("project/background/fungal_genetic_engineering") != -1)
else if(h.indexOf("project/background/fungal_genetic_engineering") != -1)
{ document.getElementById("liEngineering").className="active"; }
{ document.getElementById("liEngineering").className="active"; }

Latest revision as of 02:18, 28 September 2013