Template:Imperial/09/Menu/Reduced

From 2009.igem.org

(Difference between revisions)
 
(5 intermediate revisions not shown)
Line 422: Line 422:
     border: 1px solid #000;
     border: 1px solid #000;
     background: url(https://static.igem.org/mediawiki/2009/b/b0/II09_Menu_Header_Maroon.png) repeat-x top;
     background: url(https://static.igem.org/mediawiki/2009/b/b0/II09_Menu_Header_Maroon.png) repeat-x top;
 +
    padding: 2px 4px;
 +
    text-align:left;
 +
    font: calibri;
 +
}
 +
 +
.menu_header_11 {
 +
    font-weight:bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/1/1a/II09_Menu_Header_Purple2.png) repeat-x top;
 +
    color: #111;
 +
    padding: 2px 4px;
 +
    text-align:left;
 +
    font: calibri;
 +
}
 +
.menu_header_11_disabled {
 +
font-weight:bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #bbb;
 +
    background: url(https://static.igem.org/mediawiki/2009/9/94/II09_Menu_Header_Gray.png) repeat-x bottom;
 +
    padding: 2px 4px;
 +
    text-align:left;
 +
    font: calibri;
 +
}
 +
.menu_header_11_disabled:hover {
 +
font-weight:bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/1/1a/II09_Menu_Header_Purple2.png) repeat-x top;
     padding: 2px 4px;
     padding: 2px 4px;
     text-align:left;
     text-align:left;
Line 436: Line 468:
   </style>
   </style>
<![endif]-->
<![endif]-->
-
 
-
<script type="text/javascript">
 
-
    var address = document.location.href;
 
-
    var addressSplit = address.split("/");
 
-
    //alert('3='+addressSplit[3]+'; 4='+addressSplit[4]);
 
-
</script>
 
<div id="menu">
<div id="menu">
Line 457: Line 483:
</script>
</script>
</ul>
</ul>
-
 
<ul>
<ul>
Line 467: Line 492:
}
}
</script>
</script>
-
 
</ul>
</ul>
Line 494: Line 518:
<script type="text/javascript">
<script type="text/javascript">
if (addressSplit[4]=='Temporal_Control'){
if (addressSplit[4]=='Temporal_Control'){
-
     document.write('<li class="menu_header_5"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control"><img src="https://static.igem.org/mediawiki/2009/3/3c/II09_Temporal_control.png" width="18%" align="left"> Temporal Control</a></li>');
+
     document.write('<li class="menu_header_5"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control"><img src="https://static.igem.org/mediawiki/2009/3/3c/II09_Temporal_control.png" width="18%" align="left"> Module integration</a></li>');
}else{
}else{
-
     document.write('<li class="menu_header_5_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control"><img src="https://static.igem.org/mediawiki/2009/3/3c/II09_Temporal_control.png" width="18%" align="left"> Temporal Control</a></li>');
+
     document.write('<li class="menu_header_5_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Temporal_Control"><img src="https://static.igem.org/mediawiki/2009/3/3c/II09_Temporal_control.png" width="18%" align="left"> Module integration</a></li>');
}
}
</script>
</script>
Line 525: Line 549:
<script type="text/javascript">
<script type="text/javascript">
if (addressSplit[4]=='HumanPractices'){
if (addressSplit[4]=='HumanPractices'){
-
document.write('<li class="menu_header_8"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Ethics"><img src="https://static.igem.org/mediawiki/2009/8/80/II09_EthicsThumb.png" width="20%" align="left"> Human Practices Project</a></li>');
+
document.write('<li class="menu_header_8"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/HumanPractices"><img src="https://static.igem.org/mediawiki/2009/8/80/II09_EthicsThumb.png" width="20%" align="left"> Human Practices Project</a></li>');
     }else{
     }else{
           document.write('<li class="menu_header_8_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Ethics"><img src="https://static.igem.org/mediawiki/2009/8/80/II09_EthicsThumb.png" width="20%" align="left"> Human Practices Project</a></li>');     
           document.write('<li class="menu_header_8_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Ethics"><img src="https://static.igem.org/mediawiki/2009/8/80/II09_EthicsThumb.png" width="20%" align="left"> Human Practices Project</a></li>');     
Line 547: Line 571:
if (addressSplit[4]=='Team' || addressSplit[4]=='Contact' || addressSplit[4]=='Friends' || addressSplit[4]=='Gallery'){
if (addressSplit[4]=='Team' || addressSplit[4]=='Contact' || addressSplit[4]=='Friends' || addressSplit[4]=='Gallery'){
document.write('<li class="menu_header_10"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Team"> Team</a></li>');
document.write('<li class="menu_header_10"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Team"> Team</a></li>');
 +
document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Contact"> Contact</a></li>');
 +
document.write('<li><a class="sa" href="https://2009.igem.org/Team:Imperial_College_London/Friends"> Our friends</a></li>');
     }else{
     }else{
           document.write('<li class="menu_header_10_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Team"> Team</a></li>');
           document.write('<li class="menu_header_10_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Team"> Team</a></li>');

Latest revision as of 18:02, 21 October 2009