Team:St Andrews/about
From 2010.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
- | + | <script language="JavaScript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script> | |
+ | <!--[if gte IE 5.5]> | ||
+ | <script language="JavaScript" type="text/JavaScript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#navmenu-h li,#navmenu-v li").hover( | ||
+ | function() { $(this).addClass("iehover"); }, | ||
+ | function() { $(this).removeClass("iehover"); } | ||
+ | );}); | ||
+ | </script> | ||
+ | <![endif]--> | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
+ | ul#navmenu-h { margin: 0; padding: 0; list-style: none; position: relative; } | ||
+ | |||
+ | ul#navmenu-h ul { | ||
+ | width: 173px; /* Sub Menu Width */ | ||
+ | margin: 0; | ||
+ | list-style: none; | ||
+ | display: none; | ||
+ | position: absolute; | ||
+ | top: 100%; | ||
+ | left: 0; | ||
+ | } | ||
+ | |||
+ | ul#navmenu-h ul ul,ul#navmenu-h ul ul ul { top: 0; left: 100%; } | ||
+ | |||
+ | ul#navmenu-h li { float: left; display: inline; position: relative; } | ||
+ | ul#navmenu-h ul li { width: 100%; display: block; } | ||
+ | |||
+ | /* Root Menu */ | ||
+ | ul#navmenu-h a { | ||
+ | border-top: 1px solid #FFF; | ||
+ | border-right: 1px solid #FFF; | ||
+ | width:160px; | ||
+ | padding: 6px; | ||
+ | float: center; | ||
+ | display: block; | ||
+ | background: #000066; | ||
+ | color: #ffffff; | ||
+ | font: bold 11px Verdana, sans-serif; | ||
+ | text-decoration: none; | ||
+ | height: 1%; | ||
+ | } | ||
+ | |||
+ | /* Root Menu Hover Persistence */ | ||
+ | ul#navmenu-h a:hover,ul#navmenu-h li:hover a,ul#navmenu-h li.iehover a { | ||
+ | background: #808080; | ||
+ | color: #FFF; | ||
+ | } | ||
+ | |||
+ | /* 2nd Menu */ | ||
+ | ul#navmenu-h li:hover li a,ul#navmenu-h li.iehover li a { | ||
+ | width: 160px; | ||
+ | float: none; | ||
+ | background: #808080; | ||
+ | } | ||
+ | |||
+ | /* 2nd Menu Hover Persistence */ | ||
+ | ul#navmenu-h li:hover li a:hover,ul#navmenu-h li:hover li:hover a,ul#navmenu-h li.iehover li a:hover,ul#navmenu-h li.iehover li.iehover a { | ||
+ | background: #000066; | ||
+ | } | ||
+ | |||
+ | /* 3rd Menu */ | ||
+ | ul#navmenu-h li:hover li:hover li a,ul#navmenu-h li.iehover li.iehover li a { | ||
+ | background: #808080; | ||
+ | } | ||
+ | |||
+ | /* 3rd Menu Hover Persistence */ | ||
+ | ul#navmenu-h li:hover li:hover li a:hover,ul#navmenu-h li:hover li:hover li:hover a,ul#navmenu-h li.iehover li.iehover li a:hover,ul#navmenu-h li.iehover li.iehover li.iehover a { | ||
+ | background: #000066; | ||
+ | } | ||
+ | |||
+ | /* 4th Menu */ | ||
+ | ul#navmenu-h li:hover li:hover li:hover li a,ul#navmenu-h li.iehover li.iehover li.iehover li a { | ||
+ | background: #808080; | ||
+ | } | ||
+ | |||
+ | /* 4th Menu Hover */ | ||
+ | ul#navmenu-h li:hover li:hover li:hover li a:hover,ul#navmenu-h li.iehover li.iehover li.iehover li a:hover { | ||
+ | background: #000066; | ||
+ | } | ||
+ | |||
+ | /* Hover Function - Do Not Move */ | ||
+ | ul#navmenu-h li:hover ul ul,ul#navmenu-h li:hover ul ul ul,ul#navmenu-h li.iehover ul ul,ul#navmenu-h li.iehover ul ul ul { display: none; } | ||
+ | ul#navmenu-h li:hover ul,ul#navmenu-h ul li:hover ul,ul#navmenu-h ul ul li:hover ul,ul#navmenu-h li.iehover ul,ul#navmenu-h ul li.iehover ul,ul#navmenu-h ul ul li.iehover ul { display: block; } | ||
+ | |||
+ | ul.navigation2 | ||
+ | { | ||
+ | position:absolute; | ||
+ | z-index:1; | ||
+ | top:200px; | ||
+ | left:105px; | ||
+ | } | ||
+ | |||
#globalWrapper { | #globalWrapper { | ||
Line 575: | Line 667: | ||
<img class="gradientb" border="0" src="https://static.igem.org/mediawiki/2010/2/22/Standrewsgradient.jpg"/> | <img class="gradientb" border="0" src="https://static.igem.org/mediawiki/2010/2/22/Standrewsgradient.jpg"/> | ||
<img class="lybanner" border="0" src="https://static.igem.org/mediawiki/2010/f/fb/Standrewsbanner2.jpg" width="977" height="750" /> | <img class="lybanner" border="0" src="https://static.igem.org/mediawiki/2010/f/fb/Standrewsbanner2.jpg" width="977" height="750" /> | ||
- | <ul id=" | + | <ul id="navmenu-h" class="navigation2"> |
<li><a href="https://2010.igem.org/Team:St_Andrews">Home</a></li> | <li><a href="https://2010.igem.org/Team:St_Andrews">Home</a></li> | ||
<li><a href="https://2010.igem.org/Team:St_Andrews/team">Team</a> | <li><a href="https://2010.igem.org/Team:St_Andrews/team">Team</a> |
Revision as of 01:48, 29 July 2010