Team:Cornell/templates/hpracnav
From 2013.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
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 | + | else if(h.indexOf("project/hprac/ecovative") != -1) |
{ document.getElementById("liEcovative").className="active"; } | { document.getElementById("liEcovative").className="active"; } | ||
- | else if(h | + | else if(h.indexOf("project/hprac/economics") != -1) |
{ document.getElementById("liEconomics").className="active"; } | { document.getElementById("liEconomics").className="active"; } | ||
- | else if(h | + | else if(h.indexOf("project/hprac/environment") != -1) |
{ document.getElementById("liEnvironment").className="active"; } | { document.getElementById("liEnvironment").className="active"; } | ||
- | else if(h | + | else if(h.indexOf("project/hprac/ethics") != -1) |
{ document.getElementById("liEthics").className="active"; } | { document.getElementById("liEthics").className="active"; } | ||
- | else if(h | + | else if(h.indexOf("project/hprac/future") != -1) |
{ document.getElementById("liFuture").className="active"; } | { document.getElementById("liFuture").className="active"; } | ||
- | else if(h | + | else if(h.indexOf("project/safety") != -1) |
{ document.getElementById("liSafety").className="active"; } | { document.getElementById("liSafety").className="active"; } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 00:16, 27 September 2013