Team:Cornell/templates/hpracnav

From 2013.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 24: Line 24:
<a href="https://2013.igem.org/Team:Cornell/project/hprac/ethics">Bioethics</a>
<a href="https://2013.igem.org/Team:Cornell/project/hprac/ethics">Bioethics</a>
</li>
</li>
-
<li id="liFuture">
+
<li id="liSafety">
-
<a href="https://2013.igem.org/Team:Cornell/project/hprac/future">Future Applications</a>
+
<a href="https://2013.igem.org/Team:Cornell/project/safety">Safety</a>
</li>
</li>
</ul>
</ul>
Line 36: Line 36:
if(h=="https://2013.igem.org/Team:Cornell/project/hprac")
if(h=="https://2013.igem.org/Team:Cornell/project/hprac")
{ document.getElementById("liOverview").className="active"; }
{ document.getElementById("liOverview").className="active"; }
-
else if(h=="https://2013.igem.org/Team:Cornell/project/hprac/ecovative")
+
else if(h.indexOf("project/hprac/ecovative") != -1)
{ document.getElementById("liEcovative").className="active"; }
{ document.getElementById("liEcovative").className="active"; }
-
else if(h=="https://2013.igem.org/Team:Cornell/project/hprac/economics")
+
else if(h.indexOf("project/hprac/economics") != -1)
{ document.getElementById("liEconomics").className="active"; }
{ document.getElementById("liEconomics").className="active"; }
-
else if(h=="https://2013.igem.org/Team:Cornell/project/hprac/environment")
+
else if(h.indexOf("project/hprac/environment") != -1)
{ document.getElementById("liEnvironment").className="active"; }
{ document.getElementById("liEnvironment").className="active"; }
-
else if(h=="https://2013.igem.org/Team:Cornell/project/hprac/ethics")
+
else if(h.indexOf("project/hprac/ethics") != -1)
{ document.getElementById("liEthics").className="active"; }
{ document.getElementById("liEthics").className="active"; }
-
else if(h=="https://2013.igem.org/Team:Cornell/project/hprac/future")
+
else if(h.indexOf("project/safety") != -1)
-
{ document.getElementById("liFuture").className="active"; }
+
{ document.getElementById("liSafety").className="active"; }
</script>
</script>
</html>
</html>

Latest revision as of 03:04, 28 September 2013