Template:Imperial/09/Menu/Reduced

From 2009.igem.org

(Difference between revisions)
 
(234 intermediate revisions not shown)
Line 11: Line 11:
   margin: 0px auto;
   margin: 0px auto;
   border: none;
   border: none;
 +
  position:relative;
   float: left;
   float: left;
}
}
Line 16: Line 17:
/* prepares the background image to full capacity of the viewing area */
/* prepares the background image to full capacity of the viewing area */
#II09_Menu_Header_Background {
#II09_Menu_Header_Background {
-
     position:absolute;
+
     position: absolute;
-
     z-index:0;
+
     z-index: 0;
-
     width:200px;
+
     width: 200px;
-
  height: 15px;
+
    height: 15px;
}
}
/* Places the content on top of the background image */
/* Places the content on top of the background image */
#II09_Menu_Header_Content {
#II09_Menu_Header_Content {
-
     position:relative;  
+
     position: relative;  
-
     z-index:1;
+
     z-index: 1;
     padding: 2px 4px;
     padding: 2px 4px;
-
  height: 15px;
+
    height: 15px;
     font: calibri;
     font: calibri;
}
}
Line 37: Line 38:
#menu {
#menu {
     width: 200px;
     width: 200px;
-
     margin: 5px 15px 0 15px;
+
     margin: 25px 15px 45px 0px;
     position: relative;
     position: relative;
     float: left;
     float: left;
-
     font: Calibri;
+
     font: 11pt/16pt Calibri, Verdana, Arial, Geneva, sans-serif;
 +
    z-index: 4;
}
}
Line 50: Line 52:
}
}
-
#menu li {
+
#menu li {margin:0;}
-
    margin:0;
+
 
-
}
+
#menu a {margin:0;}
-
#menu sub_a {
+
#menu .sa {
     display: block;
     display: block;
     width: 185px;
     width: 185px;
     height: 19px;
     height: 19px;
     margin-top: 1px;
     margin-top: 1px;
-
     margin-left:15px;
+
     margin-left: 15px;
     background: url(http://openwetware.org/images/4/46/II09_Menu_ItemHover.png) no-repeat right bottom;
     background: url(http://openwetware.org/images/4/46/II09_Menu_ItemHover.png) no-repeat right bottom;
     padding: 2px 4px;
     padding: 2px 4px;
Line 67: Line 69:
}
}
-
#menu sub_a:hover {
+
#menu .sa:hover {
     display: block;
     display: block;
     width: 185px;
     width: 185px;
     height: 19px;
     height: 19px;
     margin-top: 1px;
     margin-top: 1px;
-
     margin-left:15px;
+
     margin-left: 15px;
     background: url(http://openwetware.org/images/b/bf/II09_Menu_Item.png) no-repeat right bottom;
     background: url(http://openwetware.org/images/b/bf/II09_Menu_Item.png) no-repeat right bottom;
     padding: 2px 4px;
     padding: 2px 4px;
-
    color: #000;
 
     font: calibri;
     font: calibri;
}
}
-
#menu .selflink {
+
#menu sa.external {
-
     /*font-weight:bold;
+
     margin: 0;
-
     width: 200px;
+
     padding: 0;
-
     border: 1px solid #bbb;
+
     width: 156px;
-
    background: url(https://static.igem.org/mediawiki/2008/c/c8/Tudelft_menu_header_bg_1.gif) repeat-x bottom;
+
}
-
    color: #111;
+
-
    padding: 2px 4px;*/
+
 +
#menu .sb {
     display: block;
     display: block;
     width: 200px;
     width: 200px;
-
     height: 30px;
+
     height: 45px;
-
    margin-top: 1px;
+
     border: 1px #bbb;
-
     border: 1px solid #bbb;
+
-
    background: url(https://static.igem.org/mediawiki/2008/c/c8/Tudelft_menu_header_bg_1.gif) repeat-x left bottom;
+
     padding: 2px 4px;
     padding: 2px 4px;
-
     color: #000;
+
     text-align: left;
     font: calibri;
     font: calibri;
 +
    z-index: -2;
}
}
-
#menu sub_a.external {
+
#menu .sb:hover {
-
     margin: 0;
+
     font-weight: bold;
-
     padding: 0;
+
    width: 200px;
-
     width: 156px;
+
    height: 45px;
 +
    border: 1px #000;
 +
     padding: 2px 4px;
 +
     text-align: left;
 +
    font: calibri;
 +
    z-index: -2;
}
}
Line 108: Line 112:
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
-
.menu_header_Home {
+
.menu_header_1 {
-
     font-weight:bold;
+
     font-weight: bold;
-
     border: 5px #fff;
+
    width: 200px;
 +
    height: 45px;
 +
     border: 1px solid #bbb;
     background: url(https://static.igem.org/mediawiki/2009/5/51/II09_Menu_Header_Purple.png) repeat-x bottom;
     background: url(https://static.igem.org/mediawiki/2009/5/51/II09_Menu_Header_Purple.png) repeat-x bottom;
-
    color: #111;
 
     padding: 2px 4px;
     padding: 2px 4px;
-
     text-align:left;
+
     text-align: left;
-
 
+
    font: calibri;
-
     display: block;
+
}
 +
.menu_header_1_disabled {
 +
     font-weight:bold;
     width: 200px;
     width: 200px;
     height: 45px;
     height: 45px;
-
     margin-top: 1px;
+
     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;
     font: calibri;
 +
}
 +
.menu_header_1_disabled:hover {
 +
    font-weight:bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/5/51/II09_Menu_Header_Purple.png) repeat-x bottom;
     padding: 2px 4px;
     padding: 2px 4px;
-
     color: #000;
+
     text-align: left;
 +
    font: calibri;
}
}
-
 
+
.menu_header_2 {
-
.menu_header_M1 {
+
     font-weight:bold;
     font-weight:bold;
     width: 200px;
     width: 200px;
Line 132: Line 149:
     border: 1px solid #bbb;
     border: 1px solid #bbb;
     background: url(https://static.igem.org/mediawiki/2009/2/29/II09_Menu_Header_Blue.png) repeat-x bottom;
     background: url(https://static.igem.org/mediawiki/2009/2/29/II09_Menu_Header_Blue.png) repeat-x bottom;
-
    color: #111;
 
     padding: 2px 4px;
     padding: 2px 4px;
-
     text-align:left;
+
    text-align: left;
 +
    font: calibri;
 +
}
 +
.menu_header_2_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_2_disabled:hover {
 +
    font-weight:bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/2/29/II09_Menu_Header_Blue.png) repeat-x bottom;
 +
    padding: 2px 4px;
 +
     text-align: left;
     font: calibri;
     font: calibri;
}
}
-
 
+
.menu_header_3 {
-
.menu_header_M2 {
+
     font-weight:bold;
     font-weight:bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #bbb;
 +
    background: url(https://static.igem.org/mediawiki/2009/6/67/II09_Menu_Header_Turquoise.png) repeat-x top;
 +
    padding: 2px 4px;
 +
    text-align: left;
 +
    font: calibri;
 +
}
 +
.menu_header_3_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_3_disabled:hover {
 +
    font-weight: bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/6/67/II09_Menu_Header_Turquoise.png) repeat-x top;
 +
    padding: 2px 4px;
 +
    text-align: left;
 +
    font: calibri;
 +
}
 +
.menu_header_4 {
 +
    font-weight: bold;
     width: 200px;
     width: 200px;
     height: 45px;
     height: 45px;
     border: 1px solid #bbb;
     border: 1px solid #bbb;
     background: url(https://static.igem.org/mediawiki/2009/1/14/II09_Menu_Header_Green.png) repeat-x top;
     background: url(https://static.igem.org/mediawiki/2009/1/14/II09_Menu_Header_Green.png) repeat-x top;
-
     color: #111;
+
     padding: 2px 4px;
 +
    text-align: left;
 +
    font: calibri;
 +
}
 +
.menu_header_4_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_4_disabled:hover {
 +
    font-weight:bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/1/14/II09_Menu_Header_Green.png) repeat-x top;
     padding: 2px 4px;
     padding: 2px 4px;
     text-align:left;
     text-align:left;
Line 151: Line 235:
}
}
-
.menu_header_M3 {
+
.menu_header_5 {
-
     font-weight:bold;
+
    font-weight: bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/b/b1/II09_Menu_Header_GrnYellow.png) repeat-x top;
 +
    color: #111;
 +
    padding: 2px 4px;
 +
    text-align: left;
 +
    font: calibri;
 +
}
 +
.menu_header_5_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_5_disabled:hover {
 +
    font-weight: bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/b/b1/II09_Menu_Header_GrnYellow.png) repeat-x top;
 +
    padding: 2px 4px;
 +
    text-align: left;
 +
    font: calibri;
 +
}
 +
 
 +
 
 +
.menu_header_6 {
 +
     font-weight: bold;
     width: 200px;
     width: 200px;
     height: 45px;
     height: 45px;
     border: 1px solid #bbb;
     border: 1px solid #bbb;
     background: url(https://static.igem.org/mediawiki/2009/0/09/II09_Menu_Header_Yellow.png) repeat-x top;
     background: url(https://static.igem.org/mediawiki/2009/0/09/II09_Menu_Header_Yellow.png) repeat-x top;
-
    color: #111;
 
     padding: 2px 4px;
     padding: 2px 4px;
-
     text-align:left;
+
    text-align: left;
 +
    font: calibri;
 +
}
 +
.menu_header_6_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_6_disabled:hover {
 +
    font-weight: bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/0/09/II09_Menu_Header_Yellow.png) repeat-x top;
 +
    padding: 2px 4px;
 +
     text-align: left;
     font: calibri;
     font: calibri;
}
}
-
.menu_header_Wetlab {
+
.menu_header_7 {
-
     font-weight:bold;
+
     font-weight: bold;
     width: 200px;
     width: 200px;
     height: 45px;
     height: 45px;
     border: 1px solid #bbb;
     border: 1px solid #bbb;
-
     background: url(https://static.igem.org/mediawiki/2009/0/05/II09_Menu_Header_Orange.png) repeat-x top;
+
     background: url(https://static.igem.org/mediawiki/2009/c/c5/II09_Menu_Header_YelOrange.png) repeat-x top;
     color: #111;
     color: #111;
     padding: 2px 4px;
     padding: 2px 4px;
-
     text-align:left;
+
     text-align: left;
     font: calibri;
     font: calibri;
}
}
-
 
+
.menu_header_7_disabled {
-
.menu_header_Drylab {
+
     font-weight: bold;
-
     font-weight:bold;
+
     width: 200px;
     width: 200px;
     height: 45px;
     height: 45px;
     border: 1px solid #bbb;
     border: 1px solid #bbb;
-
     background: url(https://static.igem.org/mediawiki/2009/0/05/II09_Menu_Header_Orange.png) repeat-x top;
+
     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_7_disabled:hover {
 +
    font-weight: bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/c/c5/II09_Menu_Header_YelOrange.png) repeat-x top;
     color: #111;
     color: #111;
     padding: 2px 4px;
     padding: 2px 4px;
-
     text-align:left;
+
     text-align: left;
     font: calibri;
     font: calibri;
}
}
-
.menu_header_Ethics {
+
.menu_header_8 {
-
     font-weight:bold;
+
     font-weight: bold;
     width: 200px;
     width: 200px;
     height: 45px;
     height: 45px;
     border: 1px solid #bbb;
     border: 1px solid #bbb;
 +
    background: url(https://static.igem.org/mediawiki/2009/0/05/II09_Menu_Header_Orange.png) repeat-x top;
 +
    padding: 2px 4px;
 +
    text-align: left;
 +
    font: calibri;
 +
}
 +
.menu_header_8_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_8_disabled:hover {
 +
    font-weight: bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/0/05/II09_Menu_Header_Orange.png) repeat-x top;
 +
    padding: 2px 4px;
 +
    text-align: left;
 +
    font: calibri;
 +
}
 +
.menu_header_9{
 +
    font-weight: bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
     background: url(https://static.igem.org/mediawiki/2009/8/86/II09_Menu_Header_Red.png) repeat-x top;
     background: url(https://static.igem.org/mediawiki/2009/8/86/II09_Menu_Header_Red.png) repeat-x top;
     color: #111;
     color: #111;
 +
    padding: 2px 4px;
 +
    text-align: left;
 +
    font: calibri;
 +
}
 +
.menu_header_9_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_9_disabled:hover {
 +
font-weight:bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/8/86/II09_Menu_Header_Red.png) repeat-x top;
     padding: 2px 4px;
     padding: 2px 4px;
     text-align:left;
     text-align:left;
Line 199: Line 394:
}
}
-
.menu_header_Team {
+
 
 +
.menu_header_10 {
     font-weight:bold;
     font-weight:bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    border: 1px solid #000;
 +
    background: url(https://static.igem.org/mediawiki/2009/b/b0/II09_Menu_Header_Maroon.png) repeat-x top;
 +
    color: #111;
 +
    padding: 2px 4px;
 +
    text-align:left;
 +
    font: calibri;
 +
}
 +
.menu_header_10_disabled {
 +
font-weight:bold;
     width: 200px;
     width: 200px;
     height: 45px;
     height: 45px;
     border: 1px solid #bbb;
     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_10_disabled:hover {
 +
font-weight:bold;
 +
    width: 200px;
 +
    height: 45px;
 +
    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;
     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 214: Line 462:
<!--[if IE 6]>
<!--[if IE 6]>
   <style type="text/css">
   <style type="text/css">
-
       html {overflow-y:hidden;}
+
       html {overflow-y:auto;}
       body {overflow-y:auto;}
       body {overflow-y:auto;}
       #bg {position:absolute; z-index:-1;}
       #bg {position:absolute; z-index:-1;}
-
       #content {position:static;}
+
       #content {position:static; height:1%;}
   </style>
   </style>
<![endif]-->
<![endif]-->
 +
<div id="menu">
 +
<ul>
<script type="text/javascript">
<script type="text/javascript">
-
    var address = document.location.href;
+
if (addressSplit[3]=='Team:Imperial_College_London'){
-
    var addressSplit = address.split("/");
+
    if (typeof(addressSplit[4])=='undefined' || addressSplit[4]=='Major_results' || addressSplit[4]=='Biobricks' || addressSplit[4]=='Achievements' || addressSplit[4]=='Pill_Manufacture'){
-
if ((addressSplit[3]=='Team:Imperial_College_London') || (typeof(addressSplit[30]) == 'undefined')){
+
document.write('<li class="menu_header_1"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London"><img src="https://static.igem.org/mediawiki/2009/8/83/II09_Thumb_home.png" width="15%" align="left"> Home</a></li>');
-
     alert('cat');
+
    }else{
 +
document.write('<li class="menu_header_1_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London"><img src="https://static.igem.org/mediawiki/2009/8/83/II09_Thumb_home.png" width="15%" align="left"> Home</a></li>');
 +
     }
 +
}else{
 +
document.write('<li class="menu_header_1_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London"><img src="https://static.igem.org/mediawiki/2009/8/83/II09_Thumb_home.png" width="15%" align="left"> Home</a></li>');
}
}
</script>
</script>
 +
</ul>
-
<div id="menu">
 
<ul>
<ul>
-
 
-
<li><strong class="menu_header_Home"><img src="https://static.igem.org/mediawiki/2009/8/83/II09_Thumb_home.png" width="15%" align="left"><a href="https://2009.igem.org/Team:Imperial_College_London/Project"> Home</a></strong></li>
 
-
 
<script type="text/javascript">
<script type="text/javascript">
-
if ((addressSplit[3]=='Team:Imperial_College_London') && (typeof(addressSplit[30]) == 'undefined')){
+
if (addressSplit[4]=='M1'){
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Major_results"> Major results</a></li>');
+
document.write('<li class="menu_header_2"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M1"><img src="https://static.igem.org/mediawiki/2009/c/c1/II09_Thumb_m1.png" width="15%" align="left"> Module 1: Protein Production</a></li>');
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Biobricks"> Submitted parts</a></li>');
+
    }else{
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Achievements"> Achievements</a></li>');
+
        document.write('<li class="menu_header_2_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M1"><img src="https://static.igem.org/mediawiki/2009/c/c1/II09_Thumb_m1.png" width="15%" align="left"> Module 1: Protein Production</a></li>');
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Manufacturing"> Manufacturing considerations</a></li>');
+
}
}
</script>
</script>
Line 245: Line 495:
<ul>
<ul>
-
<li class="menu_header_M1"><img src="https://static.igem.org/mediawiki/2009/c/c1/II09_Thumb_m1.png" width="15%" align="left"><a href="https://2009.igem.org/Team:Imperial_College_London/M1"> Module 1: Protein Production</a></li>
 
<script type="text/javascript">
<script type="text/javascript">
-
if (addressSplit[4]=='M1'){
+
if (addressSplit[4]=='M2'){
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M1/Genetic"> Genetic circuit</a></li>');
+
document.write('<li class="menu_header_3"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M2"><img src="https://static.igem.org/mediawiki/2009/d/df/II09_Thumb_m2.png" width="15%" align="left"> Module 2: Encapsulation</a></li>');
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M1/Results"> Results</a></li>');
+
    }else{
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M1/Modelling"> Modelling</a></li>');
+
          document.write('<li class="menu_header_3_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M2"><img src="https://static.igem.org/mediawiki/2009/d/df/II09_Thumb_m2.png" width="15%" align="left"> Module 2: Encapsulation</a></li>');
}
}
</script>
</script>
 +
</ul>
 +
<ul>
 +
<script type="text/javascript">
 +
if (addressSplit[4]=='M3'){
 +
document.write('<li class="menu_header_4"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M3"><img src="https://static.igem.org/mediawiki/2009/2/25/II09_Thumb_m3.png" width="15%" align="left"> Module 3: Genome Deletion</a></li>');
 +
    }else{
 +
          document.write('<li class="menu_header_4_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/M3"><img src="https://static.igem.org/mediawiki/2009/2/25/II09_Thumb_m3.png" width="15%" align="left"> Module 3: Genome Deletion</a></li>');
 +
}
 +
</script>
</ul>
</ul>
 +
<ul>
<ul>
-
<li class="menu_header_M2"><img src="https://static.igem.org/mediawiki/2009/d/df/II09_Thumb_m2.png" width="15%" align="left"><a href="https://2009.igem.org/Team:Imperial_College_London/M2"> Module 2: Encapsulation</a></li>
 
<script type="text/javascript">
<script type="text/javascript">
-
if (addressSplit[4]=='M2'){
+
if (addressSplit[4]=='Temporal_Control'){
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M2/Genetic"> Genetic circuit</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>');
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M2/Results"> Results</a></li>');
+
}else{
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M2/Modelling"> Modelling</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>');
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M2/Pictures"> Picture gallery</a></li>');
+
}
}
</script>
</script>
Line 269: Line 526:
<ul>
<ul>
-
<li class="menu_header_M3"><img src="https://static.igem.org/mediawiki/2009/2/25/II09_Thumb_m3.png" width="15%" align="left"><a href="https://2009.igem.org/Team:Imperial_College_London/M3"> Module 3: Genome Deletion</a></li>
 
<script type="text/javascript">
<script type="text/javascript">
-
if (addressSplit[4]=='M3'){
+
if (addressSplit[4]=='Wetlab'){
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M3/Genetic"> Genetic circuit</a></li>');
+
    document.write('<li class="menu_header_6"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab"><img src="https://static.igem.org/mediawiki/2009/0/02/II09_Flasks.png" width="20%" align="left"> Wet Lab</a></li>');
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M3/Results"> Results</a></li>');
+
}else{
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/M3/Modelling"> Modelling</a></li>');
+
    document.write('<li class="menu_header_6_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Wetlab"><img src="https://static.igem.org/mediawiki/2009/0/02/II09_Flasks.png" width="20%" align="left"> Wet Lab</a></li>');
}
}
</script>
</script>
Line 280: Line 536:
<ul>
<ul>
-
<li class="menu_header_Wetlab"><a href="https://2009.igem.org/Team:Imperial_College_London/Wetlab"> Wetlab</a></li>
+
<script type="text/javascript">
 +
if (addressSplit[4]=='Drylab'){
 +
    document.write('<li class="menu_header_7"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Drylab"><img src="https://static.igem.org/mediawiki/2009/c/ce/II09_DryLabThumb.png" width="20%" align="left"> Dry Lab</a></li>');
 +
}else{
 +
    document.write('<li class="menu_header_7_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Drylab"><img src="https://static.igem.org/mediawiki/2009/c/ce/II09_DryLabThumb.png" width="20%" align="left"> Dry Lab</a></li>');
 +
}
 +
</script>
</ul>
</ul>
 +
<ul>
<ul>
-
<li class="menu_header_Drylab"><a href="https://2009.igem.org/Team:Imperial_College_London/Drylab"> Drylab</a></li>
+
<script type="text/javascript">
 +
if (addressSplit[4]=='HumanPractices'){
 +
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{
 +
          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>');   
 +
}
 +
</script>
</ul>
</ul>
 +
<ul>
<ul>
-
<li class="menu_header_Ethics"><a href="https://2009.igem.org/Team:Imperial_College_London/Ethics"> Ethics Project</a></li>
 
<script type="text/javascript">
<script type="text/javascript">
-
if (addressSplit[4]=='Ethics'){
+
if (addressSplit[4]=='Resources'){
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Ethics/Videos"> Video gallery</a></li>');
+
    document.write('<li class="menu_header_9"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Notebook"><img src="https://static.igem.org/mediawiki/2009/7/76/II09_Resources.png" width="20%" align="left"> Notebook</a></li>');
-
document.write('<li><sub_a href="https://2009.igem.org/Team:Imperial_College_London/Ethics/Contribute"> Contribute!</a></li>');
+
}else{
 +
    document.write('<li class="menu_header_9_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Notebook"><img src="https://static.igem.org/mediawiki/2009/7/76/II09_Resources.png" width="20%" align="left"> Notebook</a></li>');
}
}
</script>
</script>
Line 298: Line 568:
<ul>
<ul>
-
<li class="menu_header_Team"><a href="https://2009.igem.org/Team:Imperial_College_London/Team"> Team</a></li>
 
<script type="text/javascript">
<script type="text/javascript">
-
if (addressSplit[4]=='Team'){
+
if (addressSplit[4]=='Team' || addressSplit[4]=='Contact' || addressSplit[4]=='Friends' || addressSplit[4]=='Gallery'){
-
document.write('<li><a href="https://2009.igem.org/Team:Imperial_College_London/Contact"> Contact</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 href="https://2009.igem.org/Team:Imperial_College_London/Friends"> Our friends</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{
 +
          document.write('<li class="menu_header_10_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Team"> Team</a></li>');
}
}
</script>
</script>

Latest revision as of 18:02, 21 October 2009