Template:Imperial/09/Menu/Reduced
From 2009.igem.org
(Difference between revisions)
Line 449: | Line 449: | ||
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>'); | ||
- | |||
- | |||
- | |||
- | |||
}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 467: | Line 463: | ||
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>'); | ||
- | |||
- | |||
- | |||
}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>'); | ||
Line 481: | Line 474: | ||
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>'); | ||
- | |||
- | |||
- | |||
- | |||
}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 495: | Line 484: | ||
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>'); | ||
- | |||
- | |||
- | |||
}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 509: | Line 495: | ||
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>'); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
}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 527: | Line 505: | ||
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>'); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
}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 542: | Line 515: | ||
if (addressSplit[4]=='Drylab'){ | if (addressSplit[4]=='Drylab'){ | ||
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>'); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
}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 559: | Line 526: | ||
if (addressSplit[4]=='HumanPractices'){ | if (addressSplit[4]=='HumanPractices'){ | ||
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"> Human Practices Project</a></li>'); | 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"> Human Practices Project</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"> Human Practices Project</a></li>'); | 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"> Human Practices Project</a></li>'); | ||
Line 571: | Line 536: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
if (addressSplit[4]=='Resources'){ | 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/Notebook"><img src="https://static.igem.org/mediawiki/2009/7/76/II09_Resources.png" width="20%" align="left"> Notebook</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/Notebook"><img src="https://static.igem.org/mediawiki/2009/7/76/II09_Resources.png" width="20%" align="left"> Notebook</a></li>'); |
} | } | ||
</script> | </script> | ||
</ul> | </ul> | ||
- | |||
- | |||
<ul> | <ul> | ||
- | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
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>'); | ||
- | |||
- | |||
- | |||
}else{ | }else{ | ||
document.write('<li class="menu_header_10_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Team"> Team</a></li>'); | document.write('<li class="menu_header_10_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Team"> Team</a></li>'); |
Revision as of 16:28, 17 October 2009