Team:Cornell/templates/outnav

From 2013.igem.org

(Difference between revisions)
Line 30: Line 30:
if(h == "https://2013.igem.org/Team:Cornell/outreach")
if(h == "https://2013.igem.org/Team:Cornell/outreach")
{ document.getElementById("liOverview").className="active"; }
{ document.getElementById("liOverview").className="active"; }
-
else if(h == "https://2013.igem.org/Team:Cornell/outreach/presentations")
+
else if(h.contains("https://2013.igem.org/Team:Cornell/outreach/presentations"))
{ document.getElementById("liPresentations").className="active"; }
{ document.getElementById("liPresentations").className="active"; }
else if(h == "https://2013.igem.org/Team:Cornell/outreach/discussions")
else if(h == "https://2013.igem.org/Team:Cornell/outreach/discussions")

Revision as of 23:51, 26 September 2013