Template:Aquila
From 2012hs.igem.org
(Difference between revisions)
(34 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<head> | <head> | ||
- | |||
<style type="text/css"> | <style type="text/css"> | ||
Line 64: | Line 63: | ||
} | } | ||
- | + | </style> | |
- | + | </head> | |
+ | |||
+ | <body> | ||
+ | <html> | ||
+ | <head> | ||
+ | <meta> | ||
+ | <style> | ||
+ | |||
+ | #navbar | ||
{ | { | ||
- | + | margin: 1600; | |
- | + | padding: 0; | |
- | + | height: 1em; | |
- | + | position: relative; | |
- | + | left: 80px; | |
} | } | ||
- | + | #navbar a:hover | |
- | + | ||
{ | { | ||
- | + | background-color:#033EAB; <!navbar hover color> | |
- | + | text-decoration:underline; | |
- | + | ||
- | + | ||
- | + | ||
- | background-color:# | + | |
- | + | ||
- | + | ||
} | } | ||
- | + | #navbar li | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
{ | { | ||
- | + | list-style: none; | |
+ | float: left; | ||
} | } | ||
+ | #navbar li a | ||
+ | { | ||
+ | padding-left: 20px; | ||
+ | padding-bottom: 2px; | ||
+ | padding-right: 20px; | ||
+ | padding-top: 2px; | ||
+ | display: block; | ||
+ | background-color: #002261; | ||
+ | color: #fff; | ||
+ | text-decoration: none; | ||
+ | border-right:1px solid white; | ||
+ | } | ||
+ | #navbar li ul | ||
+ | { | ||
+ | display: none; | ||
+ | width: 12em; | ||
+ | background-color: #000000; | ||
+ | } | ||
+ | #navbar li:hover ul, #navbar li.hover ul | ||
+ | { | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | background-color: #ffffff; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | #navbar li:hover li, #navbar li.hover li | ||
+ | { | ||
+ | float: none; | ||
+ | } | ||
+ | #navbar li:hover li a, #navbar li.hover li a | ||
+ | { | ||
+ | background-color: #002261; /*Dropdown color*/ | ||
+ | color: white; | ||
+ | } | ||
+ | #navbar li li a:hover | ||
+ | { | ||
+ | background-color: #033EAB; | ||
+ | } | ||
+ | </style> | ||
+ | <script> | ||
+ | // Javascript originally by Patrick Griffiths and Dan Webb. | ||
+ | // http://htmldog.com/articles/suckerfish/dropdowns/ | ||
- | + | sfHover = function() | |
{ | { | ||
- | + | var sfEls = document.getElementById("navbar").getElementsByTagName("li"); | |
+ | for (var i=0; i<sfEls.length; i++) | ||
+ | { | ||
+ | sfEls[i].onmouseover=function() | ||
+ | { | ||
+ | this.className+=" hover"; | ||
+ | } | ||
+ | sfEls[i].onmouseout=function() | ||
+ | { | ||
+ | this.className=this.className.replace(new RegExp(" hover\\b"), ""); | ||
+ | } | ||
+ | } | ||
} | } | ||
- | </ | + | if (window.attachEvent) window.attachEvent("onload", sfHover); |
+ | |||
+ | </script> | ||
+ | |||
</head> | </head> | ||
+ | |||
+ | </a> | ||
<body> | <body> | ||
+ | <div id="wrap"> | ||
+ | |||
+ | <ul id="navbar"> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila">HOME</a></li> | ||
+ | </li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Team">TEAM</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Team#Hannah_Binney">Hannah Binney</a></li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Team#Frank_Zhou">Frank Zhou</a></li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Team#George_Rakushkin">George Rakushkin</a></li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Team#Rachel_Fyler">Rachel Fyler</a></li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Team#Brahm_Gardner">Brahm Gardner</a></li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Team#Gabby_Crosby">Gabby Crosby</a></li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Team#Nancy_Chinnapan">Nancy Chinnapan</a></li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Team#Peter_Jiang">Peter Jiang</a></li> | ||
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Project">PROJECT</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Project#Parts">Parts</a></li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Project#Materials">Materials</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Notebook">NOTEBOOK</a> | ||
+ | <ul> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Notebook#March">March</a></li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Notebook#April">April</a></li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Notebook#May">May</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Safety">SAFETY</a> </li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/HumanPractices">HUMAN PRACTICES</a> | ||
+ | </li> | ||
+ | <li><a href="https://2012hs.igem.org/Team:Sharon_MA_Aquila/Attributions">ATTRIBUTIONS</a></li> | ||
+ | </ul> | ||
+ | |||
+ | </div> | ||
+ | |||
+ | </body> | ||
<!--navigation menu--> | <!--navigation menu--> | ||
<ul class="navbar"> | <ul class="navbar"> | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</ul> | </ul> | ||
Line 122: | Line 212: | ||
+ | <html lang="en"> | ||
+ | <head> | ||
+ | <style type="text/css"> | ||
+ | |||
+ | #col_left | ||
+ | { | ||
+ | float: left; | ||
+ | width: 576px; | ||
+ | padding: 30px 0px; | ||
+ | margin:0; | ||
+ | } | ||
+ | |||
+ | #col_right | ||
+ | { | ||
+ | float: right; | ||
+ | width: 242px; | ||
+ | padding: 30px 28px 30px 15px; | ||
+ | margin:0; | ||
+ | } | ||
+ | |||
+ | #col_center | ||
+ | { | ||
+ | float: center; | ||
+ | width: 576; | ||
+ | padding: 30px 100px; | ||
+ | margin:0; | ||
+ | } | ||
+ | #col_nav | ||
+ | { | ||
+ | float: left; | ||
+ | width: 200px; | ||
+ | padding: 30px 15px 30px 50px; | ||
+ | margin:0; | ||
+ | } | ||
+ | |||
+ | #block-content | ||
+ | { | ||
+ | padding-bottom: 15px; | ||
+ | clear:both; | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | </head> | ||
+ | </html> | ||
<div id="col_center"> | <div id="col_center"> | ||
<div id="block-content"> | <div id="block-content"> | ||
</div><!--end block-content--> | </div><!--end block-content--> |
Latest revision as of 02:28, 3 May 2012