Team:Cornell/templates/outnav

From 2013.igem.org

(Difference between revisions)
Line 28: Line 28:
<script>
<script>
var h=window.location.href.toString()
var h=window.location.href.toString()
-
if(h.substring("https://2013.igem.org/Team:Cornell/outreach") != -1)
+
if(h == "https://2013.igem.org/Team:Cornell/outreach")
{ document.getElementById("liOverview").className="active"; }
{ document.getElementById("liOverview").className="active"; }
else if(h.substring("https://2013.igem.org/Team:Cornell/outreach/presentations") != -1)
else if(h.substring("https://2013.igem.org/Team:Cornell/outreach/presentations") != -1)

Revision as of 23:45, 26 September 2013