Team:Cornell/templates/wetnav

From 2012.igem.org

(Difference between revisions)
Line 12: Line 12:
<link rel="stylesheet" href="http://2012.igem.org/Team:Cornell/stylesheets/app?action=raw&ctype=text/css">
<link rel="stylesheet" href="http://2012.igem.org/Team:Cornell/stylesheets/app?action=raw&ctype=text/css">
<script src="http://2012.igem.org/Team:Cornell/javascripts/modernizr.foundation?action=raw&ctype=text/javascript"></script>
<script src="http://2012.igem.org/Team:Cornell/javascripts/modernizr.foundation?action=raw&ctype=text/javascript"></script>
-
<script>
 
-
var h=window.location.href.toString()
 
-
if(h=="http://2012.igem.org/Team:Cornell/templates/wetnav")
 
-
{ document.getElementById("liSidebar").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab")
 
-
{ document.getElementById("liOverview").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/chassis")
 
-
{ document.getElementById("liChassis").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/assembly")
 
-
{ document.getElementById("liAssembly").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/assembly/arsenic")
 
-
{ document.getElementById("liArsenic").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/assembly/naphthalene")
 
-
{ document.getElementById("liNaphthalene").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results")
 
-
{ document.getElementById("liResults").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/biobricks")
 
-
{ document.getElementById("liBioBricks").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/transcription")
 
-
{ document.getElementById("liTranscription").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/currentresponse")
 
-
{ document.getElementById("liCurrentResponse").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/protein")
 
-
{ document.getElementById("liProtein").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/nah_operon")
 
-
{ document.getElementById("liNahOperon").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/artificial_river_media")
 
-
{ document.getElementById("liRiverMedia").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/future_work")
 
-
{ document.getElementById("liFutureWork").className="active"; }
 
-
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/animation")
 
-
{ document.getElementById("liAnimation").className="active"; }
 
-
</script>
 
<!-- IE Fix for HTML5 Tags -->
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 9]>
<!--[if lt IE 9]>
Line 113: Line 80:
</div>
</div>
</body>
</body>
 +
<script>
 +
var h=window.location.href.toString()
 +
if(h=="http://2012.igem.org/Team:Cornell/templates/wetnav")
 +
{ document.getElementById("liSidebar").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab")
 +
{ document.getElementById("liOverview").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/chassis")
 +
{ document.getElementById("liChassis").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/assembly")
 +
{ document.getElementById("liAssembly").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/assembly/arsenic")
 +
{ document.getElementById("liArsenic").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/assembly/naphthalene")
 +
{ document.getElementById("liNaphthalene").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results")
 +
{ document.getElementById("liResults").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/biobricks")
 +
{ document.getElementById("liBioBricks").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/transcription")
 +
{ document.getElementById("liTranscription").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/currentresponse")
 +
{ document.getElementById("liCurrentResponse").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/protein")
 +
{ document.getElementById("liProtein").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/nah_operon")
 +
{ document.getElementById("liNahOperon").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/results/artificial_river_media")
 +
{ document.getElementById("liRiverMedia").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/future_work")
 +
{ document.getElementById("liFutureWork").className="active"; }
 +
else if(h=="http://2012.igem.org/Team:Cornell/Sandbox/project/wetlab/animation")
 +
{ document.getElementById("liAnimation").className="active"; }
 +
</script>
</html>
</html>

Revision as of 17:45, 28 February 2013