Template:Imperial/09/TopNavigation

From 2009.igem.org

(Difference between revisions)
Line 29: Line 29:
<script type="text/javascript">
<script type="text/javascript">
-
<!-- HOME PAGE -->
+
<!-- PROJECT OVERVIEW -->
if (addressSplit[3]=='Team:Imperial_College_London'){
if (addressSplit[3]=='Team:Imperial_College_London'){
-
     if (addressSplit[4]=='Tone'){
+
     if (addressSplit[4]=='Project_Overview'){
alert('cat');
alert('cat');
document.write('<center><div id="II09_TopMenuWrapper">');
document.write('<center><div id="II09_TopMenuWrapper">');
Line 39: Line 39:
document.write('<span id="II09_TopMenuItem" style="width:190px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Manufacturing_Considerations">Manufacturing Considerations</a></span>');
document.write('<span id="II09_TopMenuItem" style="width:190px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Manufacturing_Considerations">Manufacturing Considerations</a></span>');
document.write('<span id="II09_TopMenuItem" style="width:120px;border:none;"><a href="https://2009.igem.org/Team:Imperial_College_London/genealogy">Genealogy</a></span></div></center>');
document.write('<span id="II09_TopMenuItem" style="width:120px;border:none;"><a href="https://2009.igem.org/Team:Imperial_College_London/genealogy">Genealogy</a></span></div></center>');
 +
    }
 +
}
 +
<!-- MODULE 1 -->
 +
if (addressSplit[3]=='Team:Imperial_College_London'){
 +
    if (addressSplit[4]=='M1'){
 +
alert('cat');
 +
document.write('<center><div id="II09_TopMenuWrapper">');
 +
document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/M1/EnzymeDelivery">Enzyme Delivery</a></span>');
 +
document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/M1/PeptideDelivery">Peptide Delivery</a></span>');
 +
document.write('<span id="II09_TopMenuItem" style="width:150px;"><a href="https://2009.igem.org/Team:Imperial_College_London/M1/Genetic">Genetic Circuit</a></span>');
 +
document.write('<span id="II09_TopMenuItem" style="width:120px;"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab/Results#Module_1">Wet Lab</a></span>');
 +
document.write('<span id="II09_TopMenuItem" style="width:120px;border:none;"><a href="https://2009.igem.org/Team:Imperial_College_London/M1/Modelling">Modelling</a></span></div></center>');
     }
     }
}
}
</script>
</script>
</html>
</html>

Revision as of 19:26, 19 October 2009