Template:Imperial/09/Banner
From 2009.igem.org
(Difference between revisions)
Line 33: | Line 33: | ||
<div id="II09_Header"> | <div id="II09_Header"> | ||
<div id="II09_Header_Logo"><img src="https://static.igem.org/mediawiki/2009/b/b8/II09_ImperialLogo.png" width="28%"><br><br> | <div id="II09_Header_Logo"><img src="https://static.igem.org/mediawiki/2009/b/b8/II09_ImperialLogo.png" width="28%"><br><br> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | var address = document.location.href; | ||
+ | var addressSplit = address.split("/"); | ||
+ | |||
+ | <!-- MODULE 1 --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='M1'){ | ||
+ | alert('M1'); | ||
+ | document.write('<img src="https://static.igem.org/mediawiki/2009/2/27/II09_MapIndicator_Module1.png" width="300px">'); | ||
+ | } | ||
+ | } | ||
+ | <!-- MODULE 2 --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='M2'){ | ||
+ | document.write('<img src="https://static.igem.org/mediawiki/2009/2/2e/II09_MapIndicator_Module2.png" width="300px">'); | ||
+ | } | ||
+ | } | ||
+ | <!-- MODULE 3 --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='M3'){ | ||
+ | document.write('<img src="https://static.igem.org/mediawiki/2009/8/8d/II09_MapIndicator_Module3.png" width="300px">'); | ||
+ | } | ||
+ | } | ||
+ | <!-- CHEMOINDUCTION --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='Chemoinduction'){ | ||
+ | document.write('<img src="https://static.igem.org/mediawiki/2009/5/5c/II09_MapIndicator_Chemoinduction.png" width="300px">'); | ||
+ | } | ||
+ | } | ||
+ | <!-- AUTOINDUCTION --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='Autoinduction'){ | ||
+ | document.write('<img src="https://static.igem.org/mediawiki/2009/c/ca/II09_MapIndicator_Autoinduction.png" width="300px">'); | ||
+ | } | ||
+ | } | ||
+ | <!-- THERMOINDUCTION --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='Thermoinduction'){ | ||
+ | document.write('<img src="https://static.igem.org/mediawiki/2009/0/02/II09_MapIndicator_Thermoinduction.png" width="300px">'); | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
</div> | </div> | ||
</div> | </div> | ||
</html> | </html> |
Revision as of 13:14, 21 October 2009