Template:Imperial/09/Menu/Reduced

From 2009.igem.org

(Difference between revisions)
Line 233: Line 233:
<script type="text/javascript">
<script type="text/javascript">
-
alert(addressSplit[30]);
 
if (typeof addressSplit[30] == 'undefined'){
if (typeof addressSplit[30] == 'undefined'){
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M1/Genetic"> Genetic circuit</a></li>');
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M1/Genetic"> Genetic circuit</a></li>');
Line 242: Line 241:
<script type="text/javascript">
<script type="text/javascript">
-
if (addressSplit[3]=='Team:Imperial_College_London' && (typeof addressSplit[4] == 'undefined')){
+
if (addressSplit[3]=='Team:Imperial_College_London' && (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 17:40, 13 September 2009