Team:Cornell/templates/outnav

From 2013.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
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.indexOf("https://2013.igem.org/Team:Cornell/outreach/presentations") != -1)
+
else if(h.indexOf("outreach/presentations") != -1)
{ document.getElementById("liPresentations").className="active"; }
{ document.getElementById("liPresentations").className="active"; }
-
else if(h.indexOf("https://2013.igem.org/Team:Cornell/outreach/discussions") != -1)
+
else if(h.indexOf("outreach/discussions") != -1)
{ document.getElementById("liDiscussions").className="active"; }
{ document.getElementById("liDiscussions").className="active"; }
-
else if(h.indexOf("https://2013.igem.org/Team:Cornell/outreach/awareness") != -1)
+
else if(h.indexOf("outreach/awareness") != -1)
{ document.getElementById("liAwareness").className="active"; }
{ document.getElementById("liAwareness").className="active"; }
</script>
</script>
</html>
</html>

Latest revision as of 00:00, 27 September 2013