Template:Imperial/09/Menu/Reduced
From 2009.igem.org
(Difference between revisions)
Line 330: | Line 330: | ||
font: calibri; | font: calibri; | ||
} | } | ||
- | + | .menu_header_Resources{ | |
+ | font-weight:bold; | ||
+ | width: 200px; | ||
+ | height: 45px; | ||
+ | border: 1px solid #bbb; | ||
+ | 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_Resources_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_Resources_disabled:hover { | ||
+ | font-weight:bold; | ||
+ | width: 200px; | ||
+ | height: 45px; | ||
+ | border: 1px solid #bbb; | ||
+ | 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_Team { | .menu_header_Team { | ||
font-weight:bold; | font-weight:bold; | ||
Line 470: | Line 500: | ||
</script> | </script> | ||
</ul> | </ul> | ||
+ | |||
+ | |||
+ | <ul> | ||
+ | <script type="text/javascript"> | ||
+ | if (addressSplit[4]=='Resources'){ | ||
+ | document.write('<li class="menu_header_Resources"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Resources"> Resources</a></li>'); | ||
+ | }else{ | ||
+ | document.write('<li class="menu_header_Resources_disabled"><a class="sb" href="https://2009.igem.org/Team:Imperial_College_London/Resources"> Resources</a></li>'); | ||
+ | } | ||
+ | </script> | ||
+ | </ul> | ||
+ | |||
<ul> | <ul> |
Revision as of 12:18, 15 September 2009