Template:Imperial/09/Menu/Reduced

From 2009.igem.org

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