Template:Imperial/09/Menu/Reduced

From 2009.igem.org

(Difference between revisions)
Line 224: Line 224:
     var address = document.location.href;
     var address = document.location.href;
     var addressSplit = address.split("/");
     var addressSplit = address.split("/");
-
alert(addressSplit[4]);
 
</script>
</script>
Line 232: Line 231:
<li><strong class="menu_header_Home"><img src="https://static.igem.org/mediawiki/2009/8/83/II09_Thumb_home.png" width="15%" align="left"><a href="https://2009.igem.org/Team:Imperial_College_London/Project"> Home</a></strong></li>
<li><strong class="menu_header_Home"><img src="https://static.igem.org/mediawiki/2009/8/83/II09_Thumb_home.png" width="15%" align="left"><a href="https://2009.igem.org/Team:Imperial_College_London/Project"> Home</a></strong></li>
<script type="text/javascript">
<script type="text/javascript">
-
alert('raining cats and dogs');
 
if (addressSplit[4]=='undefined'){
if (addressSplit[4]=='undefined'){
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Major_results"> Major results</a></li>');
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Major_results"> Major results</a></li>');

Revision as of 16:34, 13 September 2009