Template:Imperial/09/Menu/Reduced
From 2009.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
/* prepares the background image to full capacity of the viewing area */ | /* prepares the background image to full capacity of the viewing area */ | ||
#II09_Menu_Header_Background { | #II09_Menu_Header_Background { | ||
- | position: | + | position: absolute; |
z-index: 0; | z-index: 0; | ||
width: 200px; | width: 200px; | ||
height: 15px; | height: 15px; | ||
- | |||
} | } | ||
Line 31: | Line 30: | ||
height: 15px; | height: 15px; | ||
font: calibri; | font: calibri; | ||
- | |||
} | } | ||
Line 40: | Line 38: | ||
#menu { | #menu { | ||
width: 200px; | width: 200px; | ||
- | margin | + | margin: 5px 15px 45px 15px; |
- | + | ||
- | + | ||
- | + | ||
position: relative; | position: relative; | ||
float: left; | float: left; | ||
- | |||
font: 11pt/16pt Calibri, Verdana, Arial, Geneva, sans-serif; | font: 11pt/16pt Calibri, Verdana, Arial, Geneva, sans-serif; | ||
+ | z-index: 4; | ||
} | } | ||
Line 126: | Line 121: | ||
text-align: left; | text-align: left; | ||
font: calibri; | font: calibri; | ||
- | |||
} | } | ||
.menu_header_1_disabled { | .menu_header_1_disabled { | ||
Line 413: | Line 407: | ||
} | } | ||
.menu_header_10_disabled { | .menu_header_10_disabled { | ||
- | + | font-weight:bold; | |
width: 200px; | width: 200px; | ||
height: 45px; | height: 45px; | ||
Line 423: | Line 417: | ||
} | } | ||
.menu_header_10_disabled:hover { | .menu_header_10_disabled:hover { | ||
- | + | font-weight:bold; | |
width: 200px; | width: 200px; | ||
height: 45px; | height: 45px; | ||
Line 440: | Line 434: | ||
#bg {position:absolute; z-index:-1;} | #bg {position:absolute; z-index:-1;} | ||
#content {position:static; height:1%;} | #content {position:static; height:1%;} | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</style> | </style> | ||
<![endif]--> | <![endif]--> | ||
Line 460: | Line 447: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
if (addressSplit[3]=='Team:Imperial_College_London'){ | if (addressSplit[3]=='Team:Imperial_College_London'){ | ||
- | if (typeof(addressSplit[4])=='undefined' || addressSplit[4]=='Major_results' || addressSplit[4]=='Biobricks' || addressSplit[4]=='Achievements' || addressSplit[4]=='Pill_Manufacture | + | if (typeof(addressSplit[4])=='undefined' || addressSplit[4]=='Major_results' || addressSplit[4]=='Biobricks' || addressSplit[4]=='Achievements' || addressSplit[4]=='Pill_Manufacture'){ |
document.write('<li class="menu_header_1"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London"><img src="https://static.igem.org/mediawiki/2009/8/83/II09_Thumb_home.png" width="15%" align="left"> Home</a></li>'); | document.write('<li class="menu_header_1"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London"><img src="https://static.igem.org/mediawiki/2009/8/83/II09_Thumb_home.png" width="15%" align="left"> Home</a></li>'); | ||
document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Project_Overview"> Project overview</a></li>'); | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Project_Overview"> Project overview</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Major_results"> Major results</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/BioBricks"> Submitted parts</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Achievements"> Achievements</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Manufacturing_Considerations"> Pill Manufacture</a></li>'); | ||
}else{ | }else{ | ||
document.write('<li class="menu_header_1_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London"><img src="https://static.igem.org/mediawiki/2009/8/83/II09_Thumb_home.png" width="15%" align="left"> Home</a></li>'); | document.write('<li class="menu_header_1_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London"><img src="https://static.igem.org/mediawiki/2009/8/83/II09_Thumb_home.png" width="15%" align="left"> Home</a></li>'); | ||
Line 476: | Line 467: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
if (addressSplit[4]=='M1'){ | if (addressSplit[4]=='M1'){ | ||
- | document.write('<li class="menu_header_2"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M1"><img src="https://static.igem.org/mediawiki/2009/c/c1/II09_Thumb_m1.png" width="15%" align="left"> Module 1: Protein Production</a></li>'); | + | document.write('<li class="menu_header_2"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M1"><img src="https://static.igem.org/mediawiki/2009/c/c1/II09_Thumb_m1.png" width="15%" align="left"> Module 1: Protein Production</a></li>'); |
- | + | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/M1/Genetic"> Genetic circuit</a></li>'); | |
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/M1/Results"> Results</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/M1/Modelling"> Modelling</a></li>'); | ||
}else{ | }else{ | ||
- | document.write('<li class="menu_header_2_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M1"><img src="https://static.igem.org/mediawiki/2009/c/c1/II09_Thumb_m1.png" width="15%" align="left"> Module 1: Protein Production</a></li>'); | + | document.write('<li class="menu_header_2_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M1"><img src="https://static.igem.org/mediawiki/2009/c/c1/II09_Thumb_m1.png" width="15%" align="left"> Module 1: Protein Production</a></li>'); |
} | } | ||
</script> | </script> | ||
Line 489: | Line 482: | ||
if (addressSplit[4]=='M2'){ | if (addressSplit[4]=='M2'){ | ||
document.write('<li class="menu_header_3"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M2"><img src="https://static.igem.org/mediawiki/2009/d/df/II09_Thumb_m2.png" width="15%" align="left"> Module 2: Encapsulation</a></li>'); | document.write('<li class="menu_header_3"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M2"><img src="https://static.igem.org/mediawiki/2009/d/df/II09_Thumb_m2.png" width="15%" align="left"> Module 2: Encapsulation</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/M2/Genetic"> Genetic circuit</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/M2/Results"> Results</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/M2/Modelling"> Modelling</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/M2/Pictures"> Picture gallery</a></li>'); | ||
}else{ | }else{ | ||
document.write('<li class="menu_header_3_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M2"><img src="https://static.igem.org/mediawiki/2009/d/df/II09_Thumb_m2.png" width="15%" align="left"> Module 2: Encapsulation</a></li>'); | document.write('<li class="menu_header_3_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M2"><img src="https://static.igem.org/mediawiki/2009/d/df/II09_Thumb_m2.png" width="15%" align="left"> Module 2: Encapsulation</a></li>'); | ||
Line 499: | Line 496: | ||
if (addressSplit[4]=='M3'){ | if (addressSplit[4]=='M3'){ | ||
document.write('<li class="menu_header_4"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M3"><img src="https://static.igem.org/mediawiki/2009/2/25/II09_Thumb_m3.png" width="15%" align="left"> Module 3: Genome Deletion</a></li>'); | document.write('<li class="menu_header_4"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M3"><img src="https://static.igem.org/mediawiki/2009/2/25/II09_Thumb_m3.png" width="15%" align="left"> Module 3: Genome Deletion</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/M3/Genetic"> Genetic circuit</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/M3/Results"> Results</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/M3/Modelling"> Modelling</a></li>'); | ||
}else{ | }else{ | ||
document.write('<li class="menu_header_4_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M3"><img src="https://static.igem.org/mediawiki/2009/2/25/II09_Thumb_m3.png" width="15%" align="left"> Module 3: Genome Deletion</a></li>'); | document.write('<li class="menu_header_4_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M3"><img src="https://static.igem.org/mediawiki/2009/2/25/II09_Thumb_m3.png" width="15%" align="left"> Module 3: Genome Deletion</a></li>'); | ||
Line 510: | Line 510: | ||
if (addressSplit[4]=='Temporal_Control'){ | if (addressSplit[4]=='Temporal_Control'){ | ||
document.write('<li class="menu_header_5"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control"><img src="https://static.igem.org/mediawiki/2009/3/3c/II09_Temporal_control.png" width="18%" align="left"> Temporal Control</a></li>'); | document.write('<li class="menu_header_5"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control"><img src="https://static.igem.org/mediawiki/2009/3/3c/II09_Temporal_control.png" width="18%" align="left"> Temporal Control</a></li>'); | ||
+ | |||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control/Chemical_Induction"> Chemical induction</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control/Autoinduction"> Autoinduction</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control/Thermoinduction"> Thermoinduction</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Release"> Drug Release</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control/Results"> Results</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control/Modelling"> Modelling</a></li>'); | ||
+ | |||
}else{ | }else{ | ||
document.write('<li class="menu_header_5_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control"><img src="https://static.igem.org/mediawiki/2009/3/3c/II09_Temporal_control.png" width="18%" align="left"> Temporal Control</a></li>'); | document.write('<li class="menu_header_5_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control"><img src="https://static.igem.org/mediawiki/2009/3/3c/II09_Temporal_control.png" width="18%" align="left"> Temporal Control</a></li>'); | ||
Line 520: | Line 528: | ||
if (addressSplit[4]=='Wetlab'){ | if (addressSplit[4]=='Wetlab'){ | ||
document.write('<li class="menu_header_6"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab"><img src="https://static.igem.org/mediawiki/2009/0/02/II09_Flasks.png" width="20%" align="left"> Wet Lab</a></li>'); | document.write('<li class="menu_header_6"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab"><img src="https://static.igem.org/mediawiki/2009/0/02/II09_Flasks.png" width="20%" align="left"> Wet Lab</a></li>'); | ||
- | + | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Cloning_Strategy"> Cloning Strategy</a></li>'); | |
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Protocols">Protocols</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/BioBricks"> BioBricks</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Results"> Results</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Notebook"> Notebook</a></li>'); | ||
}else{ | }else{ | ||
document.write('<li class="menu_header_6_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab"><img src="https://static.igem.org/mediawiki/2009/0/02/II09_Flasks.png" width="20%" align="left"> Wet Lab</a></li>'); | document.write('<li class="menu_header_6_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab"><img src="https://static.igem.org/mediawiki/2009/0/02/II09_Flasks.png" width="20%" align="left"> Wet Lab</a></li>'); | ||
Line 532: | Line 544: | ||
document.write('<li class="menu_header_7"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Drylab"><img src="https://static.igem.org/mediawiki/2009/c/ce/II09_DryLabThumb.png" width="20%" align="left"> Dry Lab</a></li>'); | document.write('<li class="menu_header_7"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Drylab"><img src="https://static.igem.org/mediawiki/2009/c/ce/II09_DryLabThumb.png" width="20%" align="left"> Dry Lab</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Drylab/Autoinduction"> Autoinduction</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Drylab/Protein_Production">Protein Production</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Drylab/Enzyme">Drug kinetics</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Drylab/Encapsulation"> Encapsulation</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Drylab/Genome_deletion"> Genome Deletion</a></li>'); | ||
}else{ | }else{ | ||
document.write('<li class="menu_header_7_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Drylab"><img src="https://static.igem.org/mediawiki/2009/c/ce/II09_DryLabThumb.png" width="20%" align="left"> Dry Lab</a></li>'); | document.write('<li class="menu_header_7_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Drylab"><img src="https://static.igem.org/mediawiki/2009/c/ce/II09_DryLabThumb.png" width="20%" align="left"> Dry Lab</a></li>'); | ||
Line 541: | Line 558: | ||
<ul> | <ul> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | if (addressSplit[4]==' | + | if (addressSplit[4]=='Ethics'){ |
- | document.write('<li class="menu_header_8"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Ethics"><img src="https://static.igem.org/mediawiki/2009/8/80/II09_EthicsThumb.png" width="20%" align="left"> | + | document.write('<li class="menu_header_8"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Ethics"><img src="https://static.igem.org/mediawiki/2009/8/80/II09_EthicsThumb.png" width="20%" align="left"> Ethics Project</a></li>'); |
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Ethics/Videos"> Video gallery</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Ethics/Contribute"> Contribute!</a></li>'); | ||
}else{ | }else{ | ||
- | document.write('<li class="menu_header_8_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Ethics"><img src="https://static.igem.org/mediawiki/2009/8/80/II09_EthicsThumb.png" width="20%" align="left"> | + | document.write('<li class="menu_header_8_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Ethics"><img src="https://static.igem.org/mediawiki/2009/8/80/II09_EthicsThumb.png" width="20%" align="left"> Ethics Project</a></li>'); |
} | } | ||
</script> | </script> | ||
Line 552: | Line 571: | ||
<ul> | <ul> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | if (addressSplit[4]==' | + | if (addressSplit[4]=='Resources'){ |
- | document.write('<li class="menu_header_9"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/ | + | document.write('<li class="menu_header_9"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Resources"><img src="https://static.igem.org/mediawiki/2009/7/76/II09_Resources.png" width="20%" align="left"> Resources</a></li>'); |
+ | |||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Notebook"> Lab Notebook</a></li>'); | ||
+ | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Resources/Photo_Gallery">Photo Gallery</a></li>'); | ||
}else{ | }else{ | ||
- | document.write('<li class="menu_header_9_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/ | + | document.write('<li class="menu_header_9_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Resources"><img src="https://static.igem.org/mediawiki/2009/7/76/II09_Resources.png" width="20%" align="left"> Resources</a></li>'); |
} | } | ||
</script> | </script> | ||
Line 568: | Line 590: | ||
if (addressSplit[4]=='Team' || addressSplit[4]=='Contact' || addressSplit[4]=='Friends' || addressSplit[4]=='Gallery'){ | if (addressSplit[4]=='Team' || addressSplit[4]=='Contact' || addressSplit[4]=='Friends' || addressSplit[4]=='Gallery'){ | ||
document.write('<li class="menu_header_10"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Team"> Team</a></li>'); | document.write('<li class="menu_header_10"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Team"> Team</a></li>'); | ||
- | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/ | + | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Contact"> Contact</a></li>'); |
document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Friends"> Our friends</a></li>'); | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Friends"> Our friends</a></li>'); | ||
document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Gallery"> Picture gallery</a></li>'); | document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Gallery"> Picture gallery</a></li>'); |
Revision as of 16:17, 17 October 2009