Template:Imperial/09/Menu/Reduced

From 2009.igem.org

(Difference between revisions)
Line 227: Line 227:
     alert('dooogs');
     alert('dooogs');
}
}
-
if (addressSplit[3]=='Template:Imperial'){
+
 
-
    alert('Team page');
+
-
    if(typeof(addressSplit[30]) == 'undefined')){
+
-
          alert('cat');
+
-
    }
+
-
}
+
</script>
</script>
Line 241: Line 236:
<!--<script type="text/javascript">
<!--<script type="text/javascript">
-
if ((addressSplit[3]=='Team:Imperial_College_London') && (typeof(addressSplit[30]) == 'undefined')){
+
if (typeof(addressSplit[30]) == '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>');
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Biobricks"> Submitted parts</a></li>');
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Biobricks"> Submitted parts</a></li>');

Revision as of 21:58, 13 September 2009