Template:Imperial/09/Menu/Reduced

From 2009.igem.org

(Difference between revisions)
Line 471: Line 471:
<ul>
<ul>
 +
<script type="text/javascript">
 +
if (addressSplit[4]=='M1'){
 +
document.write('<li class="menu_header_Wetlab"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab"><img src="https://static.igem.org/mediawiki/2009/c/c1/II09_Thumb_m1.png" width="15%" align="left"> Wetlab</a></li>');
 +
document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab"> Overview</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/BioBricks"> BioBricks</a></li>');
 +
    }else{
 +
        document.write('<li class="menu_header_Wetlab_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab"><img src="https://static.igem.org/mediawiki/2009/c/c1/II09_Thumb_m1.png" width="15%" align="left"> Wetlab</a></li>');
 +
}
 +
</script>
 +
 +
</ul>
 +
 +
<!-- <ul>
<script type="text/javascript">
<script type="text/javascript">
if (addressSplit[4]=='Wetlab'){
if (addressSplit[4]=='Wetlab'){
Line 478: Line 492:
}
}
</script>
</script>
-
</ul>
+
</ul> -->
<ul>
<ul>

Revision as of 12:42, 15 September 2009