Template:Imperial/09/TopNavigation
From 2009.igem.org
(Difference between revisions)
(46 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | |||
<html> | <html> | ||
- | < | + | <style> |
- | + | #II09_TopMenuWrapper{ | |
+ | width: 725px; | ||
+ | display:block; | ||
+ | background: url(https://static.igem.org/mediawiki/2009/9/94/II09_Menu_Header_Gray.png) repeat-x bottom; | ||
+ | text-align:center; | ||
+ | position:relative; | ||
+ | float:right; | ||
+ | margin-top:5px; | ||
+ | margin-right:10px; | ||
+ | z-index:5; | ||
+ | border: 1px solid #000; | ||
+ | } | ||
+ | |||
+ | #II09_TopMenuItem{ | ||
+ | bottom:0px; | ||
+ | margin:0px; | ||
+ | padding:5px; | ||
+ | color: #2cc7f8; | ||
+ | border-right: 1px solid #000; | ||
+ | width:100px; | ||
+ | position:relative; | ||
+ | text-align:center; | ||
+ | float:left; | ||
+ | z-index:7; | ||
+ | } | ||
+ | </style> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | <!-- | + | <!-- PROJECT OVERVIEW --> |
if (addressSplit[3]=='Team:Imperial_College_London'){ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
- | if (addressSplit[4]==' | + | if (addressSplit[4]=='Project_Overview'){ |
- | document.write('<div id=" | + | document.write('<center><div id="II09_TopMenuWrapper">'); |
- | document.write('< | + | document.write('<span id="II09_TopMenuItem" style="width:120px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Major_results">Major Results</a></span>'); |
- | document.write('< | + | document.write('<span id="II09_TopMenuItem" style="width:120px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/BioBricks">Submitted Parts</a></span>'); |
- | document.write('< | + | document.write('<span id="II09_TopMenuItem" style="width:120px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Achievements">Achievements</a></span>'); |
- | document.write('< | + | document.write('<span id="II09_TopMenuItem" style="width:190px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Manufacturing_Considerations">Manufacturing Considerations</a></span>'); |
+ | document.write('<span id="II09_TopMenuItem" style="width:120px;border:none;"><a href="https://2009.igem.org/Team:Imperial_College_London/genealogy">Genealogy</a></span></div></center>'); | ||
+ | } | ||
+ | } | ||
+ | <!-- MODULE 1 --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='M1'){ | ||
+ | document.write('<center><div id="II09_TopMenuWrapper">'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/M1/EnzymeDelivery">Enzyme Delivery</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/M1/PeptideDelivery">Peptide Delivery</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/M1/Genetic">Genetic Circuit</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:110px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Results#Module_1">Wet Lab</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:110px;border:none;"><a href="https://2009.igem.org/Team:Imperial_College_London/M1/Modelling">Modelling</a></span></div></center>'); | ||
+ | } | ||
+ | } | ||
+ | <!-- MODULE 2 --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='M2'){ | ||
+ | document.write('<center><div id="II09_TopMenuWrapper">'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:230px;"><a href="https://2009.igem.org/Team:Imperial_College_London/M2/Genetic">Genetic Circuit</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:230px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Results#Module_2">Wet Lab</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:230px;border:none;"><a href="https://2009.igem.org/Team:Imperial_College_London/Drylab">Modelling</a></span></div></center>'); | ||
+ | } | ||
+ | } | ||
+ | <!-- MODULE 3 --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='M3'){ | ||
+ | document.write('<center><div id="II09_TopMenuWrapper">'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/M3/RestrictionEnzymes">Restriction Enzymes</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/M3/DamMethylation">DAM Methylation</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/M3/Genetic">Genetic Circuit</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:110px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control/M3/Wetlab/Results#Module_3">Wet Lab</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:110px;border:none;"><a href="https://2009.igem.org/Team:Imperial_College_London/Drylab/Genome_deletion">Modelling</a></span></div></center>'); | ||
+ | } | ||
+ | } | ||
+ | <!-- DRYLAB --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='Drylab'){ | ||
+ | document.write('<center><div id="II09_TopMenuWrapper">'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:175px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Drylab/Autoinduction">Autoinduction</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:175px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Drylab/Protein_Production">Protein Production</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:155px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Drylab/Enzyme">Enzyme</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:175px; border-right:none;"><a href="https://2009.igem.org/Team:Imperial_College_London/Drylab/Genome_deletion">Wet Lab</a></span></div></center>'); | ||
+ | } | ||
+ | } | ||
+ | <!-- TEMPORAL_CONTROL --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='Temporal_Control'){ | ||
+ | document.write('<center><div id="II09_TopMenuWrapper">'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control/Chemical_Induction">Chemoinduction</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control/Autoinduction">Autoinduction</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control/Thermoinduction">Thermoinduction</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:110px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Results#Temporal_Control">Wet Lab</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:110px;border:none;"><a href="https://2009.igem.org/Team:Imperial_College_London/Drylab/Autoinduction">Modelling</a></span></div></center>'); | ||
+ | } | ||
+ | } | ||
+ | <!-- WETLAB --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='Wetlab'){ | ||
+ | document.write('<center><div id="II09_TopMenuWrapper">'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Cloning_Strategy">Cloning strategy</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Protocols">Protocols</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/BioBricks">Biobricks</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:110px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Results">Results</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:110px;border:none;"><a href="https://2009.igem.org/Team:Imperial_College_London/Notebook">Notebook</a></span></div></center>'); | ||
+ | } | ||
+ | } | ||
+ | <!-- NOTEBOOK --> | ||
+ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
+ | if (addressSplit[4]=='Notebook'){ | ||
+ | document.write('<center><div id="II09_TopMenuWrapper">'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Cloning_Strategy">Cloning strategy</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Protocols">Protocols</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/BioBricks">Biobricks</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:110px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Results">Results</a></span>'); | ||
+ | document.write('<span id="II09_TopMenuItem" style="width:110px;border:none;"><a href="https://2009.igem.org/Team:Imperial_College_London/Notebook">Notebook</a></span></div></center>'); | ||
} | } | ||
} | } | ||
</script> | </script> | ||
</html> | </html> |
Latest revision as of 22:17, 19 October 2009