Template:Banner
From 2011.igem.org
(Difference between revisions)
m |
|||
Line 147: | Line 147: | ||
- | < | + | <div class="menubg"> |
- | + | </div> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
- | < | + | <div class="menu"> |
- | + | <!--[if lt IE 7]> | |
- | + | <script type="text/javascript"> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | sfHover = function() { | ||
+ | var sfEls = document.getElementById("nav").getElementsByTagName("LI"); | ||
+ | for (var i=0; i<sfEls.length; i++) { | ||
+ | sfEls[i].onmouseover=function() { | ||
+ | this.className+=" over"; | ||
+ | } | ||
+ | sfEls[i].onmouseout=function() { | ||
+ | this.className=this.className.replace(new RegExp(" over\\b"), ""); | ||
+ | } | ||
+ | } | ||
} | } | ||
- | + | if (window.attachEvent) window.attachEvent("onload", sfHover); | |
- | + | ||
- | + | ||
- | + | ||
+ | </script> | ||
+ | <![endif]--> | ||
+ | <style type="text/css"> | ||
+ | /* general styling */ | ||
+ | *{margin:0;padding:0} | ||
+ | body { | ||
+ | font: x-small Verdana, Arial, Helvetica, sans-serif; | ||
+ | text-align:left; | ||
+ | padding:20px; | ||
+ | } | ||
+ | .outer{ | ||
+ | padding:0px 0 0 0; | ||
+ | width:1200px; | ||
+ | margin:auto; | ||
+ | position:relative; | ||
+ | text-align:center; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | /* drop up */ | ||
+ | ul#nav,ul#nav ul { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | list-style: none; | ||
} | } | ||
- | ul# | + | ul#nav {https://2011.igem.org/wiki/index.php?title=Template:Banner&action=submit# |
- | + | width:965px; | |
+ | height:25px; | ||
+ | |||
} | } | ||
- | ul# | + | |
- | + | ul#nav li { | |
+ | position: relative; | ||
float: left; | float: left; | ||
- | + | width:193px; | |
+ | height:25px; | ||
+ | color:#fff; | ||
+ | text-align:left; | ||
+ | } | ||
+ | ul#nav li a { | ||
+ | text-decoration: none; | ||
+ | color:#fff; | ||
+ | |||
+ | } | ||
+ | #nav li ul { | ||
position: absolute; | position: absolute; | ||
- | left: 0 | + | left: 0; |
- | + | top:-170px; | |
- | + | margin-left:-999em; | |
- | + | border:none; | |
- | + | height:193px; | |
- | + | width:193px; | |
- | + | background:#000; | |
- | + | /*opacity for IE5+*/ | |
- | + | filter: alpha(opacity=60); | |
- | + | /*opacity for older Mozilla browsers*/ | |
- | + | -moz-opacity: 0.6; | |
+ | /*opacity for mozilla/safari*/ | ||
+ | opacity: 0.6; | ||
} | } | ||
- | ul# | + | ul#nav li li{height:auto;border:none;} |
- | ul# | + | ul#nav li li a{ |
- | ul# | + | color:#fff; |
+ | padding:2px 5px 2px 5px; | ||
+ | display:block; | ||
+ | } | ||
+ | ul#nav li:hover ul, | ||
+ | ul#nav li.over ul { | ||
+ | margin-left:0; | ||
+ | } | ||
+ | ul#nav li:hover, | ||
+ | ul#nav li.over, | ||
+ | ul#nav li:hover a, | ||
+ | ul#nav li.over a {color:#000} | ||
+ | |||
+ | ul#nav li:hover li a,ul#nav li.over li a{color:#fff;} | ||
+ | ul#nav li li a:hover{color:#000; background-color: #fff;} | ||
+ | ul#nav li p {padding:0px;} | ||
+ | ul#nav li.last,ul#nav li.last ul{border:none;width:100px;} | ||
+ | |||
</style> | </style> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | <div class="outer"> | |
- | + | ||
- | + | <ul id="nav"> | |
- | + | <li> | |
- | + | <p><br/><a href="https://2011.igem.org/Team:UEA-JIC_Norwich"> HOME</a></p> | |
+ | |||
+ | |||
+ | </li> | ||
+ | <li> | ||
+ | <p><br /> | ||
+ | <a href="#"> TEAM</a></p> | ||
+ | <ul> | ||
+ | <li><a href=" https://2011.igem.org/Team:UEA-JIC_Norwich/Team ">Students</a></li> | ||
+ | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Our_advisors">Advisors</a></li> | ||
+ | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Our_Sponsors">Acknowledgements</a></li> | ||
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <p><br /> | ||
+ | <a href="#"> PROJECT</a></p> | ||
+ | <ul> | ||
+ | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Project">Project Overview</a></li> | ||
+ | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Nittygritty-algae">Algae</a></li> | ||
+ | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Nittygritty-moss">Moss</a> | ||
+ | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Methods">Methods</a></li> | ||
+ | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Safety">Lab Safety</a></li> | ||
+ | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Notebook">Lab Journal</a></li> | ||
+ | </li> | ||
+ | </li> | ||
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <p><br /> | ||
+ | <a href="#"> RESULTS</a></p> | ||
+ | <ul> | ||
+ | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Registryoverview">Overview</a></li> | ||
+ | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/data">Data</a></li> | ||
- | + | </ul> | |
- | + | </li> | |
- | + | <li> | |
- | + | <p><br /> | |
- | + | <a href="#"> Human Practices</a></p> | |
- | + | <ul> | |
- | + | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Human_practices">Outreach</a></li> | |
- | + | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/UKConference">UK Team Meetup</a></li> | |
- | + | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Human_practices/Interviews">Interviews</a></li> | |
- | + | <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Human_practices/Media">Media</a></li> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</ul> | </ul> | ||
- | < | + | |
- | </ | + | |
+ | </li> | ||
+ | <li class="last"> | ||
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
</div> | </div> | ||
</div> | </div> | ||
</html> | </html> |
Revision as of 20:34, 16 September 2011
UNIVERSITY OF EAST ANGLIA-JOHN INNES CENTRE