Template:Team:UIUC Illinois/Navbar
From 2014.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | |||
- | |||
<html> | <html> | ||
+ | <link href='http://fonts.googleapis.com/css?family=Archivo+Narrow:400,700' rel='stylesheet' type='text/css'> | ||
+ | <style type="text/css"> | ||
+ | |||
+ | /* Navigation Menu */ | ||
+ | .navmenubkg { | ||
+ | position:fixed; | ||
+ | display:block; | ||
+ | z-index:50; | ||
+ | top:0; | ||
+ | height:40px; | ||
+ | left:0; | ||
+ | right:0; | ||
+ | background:white; | ||
+ | } | ||
+ | .subnav { | ||
+ | position:fixed; | ||
+ | display:none; | ||
+ | z-index:50; | ||
+ | top:43px; | ||
+ | height:40px; | ||
+ | left:0; | ||
+ | right:0; | ||
+ | background-color: rgb(255, 203, 139); | ||
+ | } | ||
+ | #navmenubox { | ||
+ | padding:0; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | width:1100px; | ||
+ | height:40px; | ||
+ | z-index:100; | ||
+ | display:block; | ||
+ | background:transparent; | ||
+ | color: rgb(46,43,52); | ||
+ | text-align:center; | ||
+ | border-bottom:4px solid rgba(80,66,45,0.9); | ||
+ | } | ||
+ | .sidelogos { | ||
+ | float:left; | ||
+ | display:block; | ||
+ | margin-left:auto; | ||
+ | height:100%; | ||
+ | width:auto; | ||
+ | } | ||
+ | .sidelogos a { | ||
+ | display:block; | ||
+ | top:0; | ||
+ | bottom:0; | ||
+ | } | ||
+ | #pblogo{ | ||
+ | width:48px; | ||
+ | } | ||
+ | #pgmap{ | ||
+ | width:30px; | ||
+ | } | ||
+ | |||
+ | #igemlogo{ | ||
+ | width:55px; | ||
+ | } | ||
+ | |||
+ | #pblogo img, #pgmap img, #igemlogo img, #onofflogo img{ | ||
+ | background-color:rgb(46,43,52); | ||
+ | margin-top:8px; | ||
+ | margin-bottom:2px; | ||
+ | } | ||
+ | #pblogo:hover img, #pgmap:hover img{ | ||
+ | background-color:rgb(228,45,51); | ||
+ | } | ||
+ | #igemlogo:hover img { | ||
+ | background-color:rgb(0,153,102); | ||
+ | } | ||
+ | #onofflogo{ | ||
+ | width:15px; | ||
+ | position:absolute; | ||
+ | top:0; | ||
+ | margin-left:1100px; | ||
+ | } | ||
+ | |||
+ | ul#nav { | ||
+ | display:block; | ||
+ | float:left; | ||
+ | padding:0; | ||
+ | margin:0; | ||
+ | list-style: none; | ||
+ | height:40px; | ||
+ | width:890px; | ||
+ | background:none; | ||
+ | z-index:100; | ||
+ | /*font-family: 'PT Sans Narrow', sans-serif;*/ | ||
+ | font-family: 'Archivo Narrow', sans-serif; | ||
+ | } | ||
+ | ul#nav a { | ||
+ | display:block; | ||
+ | top:0; | ||
+ | bottom:0; | ||
+ | } | ||
+ | ul#nav ul { | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | list-style:none; | ||
+ | background:transparent; | ||
+ | z-index:100; | ||
+ | } | ||
+ | ul#nav li { | ||
+ | float:left; | ||
+ | padding:0; | ||
+ | margin:0; | ||
+ | width:127px; | ||
+ | margin-top:13px; | ||
+ | line-height:27px; | ||
+ | height:27px; | ||
+ | font-size:15px; | ||
+ | font-weight:600; | ||
+ | background:transparent; | ||
+ | font-weight:normal; | ||
+ | z-index:100; | ||
+ | } | ||
+ | ul#nav li:hover, ul#nav li.over, ul#nav li:hover a, ul#nav li.over a { | ||
+ | color: rgb(228,45,51); | ||
+ | border-bottom:4px solid rgb(255,255,255); | ||
+ | } | ||
+ | ul#nav a{ | ||
+ | padding:0px; | ||
+ | margin:0px; | ||
+ | width:100%; | ||
+ | height:100%; | ||
+ | text-decoration:none; | ||
+ | background:transparent; | ||
+ | color:rgb(46,43,52); | ||
+ | } | ||
+ | ul#nav a:hover{ | ||
+ | color: rgb(228,45,51); | ||
+ | } | ||
+ | #nav li ul { | ||
+ | display:block; | ||
+ | margin:0; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | padding:0; | ||
+ | list-style: none; | ||
+ | width:1100px; | ||
+ | height:40px; | ||
+ | background:transparent; | ||
+ | color:rgb(46,43,52); | ||
+ | z-index:100; | ||
+ | } | ||
+ | #nav li ul li { | ||
+ | margin:0px; | ||
+ | padding:0; | ||
+ | float:left; | ||
+ | background:none; | ||
+ | height:100%; | ||
+ | line-height:40px; | ||
+ | height:40px; | ||
+ | width:127px; | ||
+ | color:rgb(46,43,52); | ||
+ | z-index:100; | ||
+ | } | ||
+ | #nav li:hover .subnav { | ||
+ | display:block; | ||
+ | } | ||
+ | #nav li .subnav:hover { | ||
+ | display:block; | ||
+ | } | ||
+ | ul#nav li:hover li a, ul#nav li.over li a { | ||
+ | color: rgb(46,43,52); | ||
+ | font-weight:normal; | ||
+ | border:none; | ||
+ | } | ||
+ | ul#nav li li:hover, ul#nav li li.over, ul#nav li li:hover a, ul#nav li li.over a { | ||
+ | color:rgb(228,45,51); | ||
+ | border:none; | ||
+ | } | ||
+ | </style> | ||
- | + | </head> | |
- | + | <body> | |
- | + | <div style="clear: both;"></div> | |
- | + | <div class="navmenubkg"> | |
- | + | <div id="navmenubox"> | |
- | + | ||
- | + | <!--Redirects to Home Page--> | |
- | + | <div id="pblogo" class="sidelogos"> | |
- | + | <a href="https://2014.igem.org/Team:UIUC_Illinois" title="Home Page"> | |
- | + | <img src="https://static.igem.org/mediawiki/2013/1/17/PB_LogoHome.gif" height="30px"/> | |
- | + | </a> | |
- | </ul> | + | </div> |
- | + | ||
- | + | <!--Redirects to site map--> | |
- | + | <div id="pgmap" class="sidelogos"> | |
- | + | <a href="https://2014.igem.org/Team:UIUC_Illinois/Site_Map" title="Site Map"> | |
- | + | <img src="https://static.igem.org/mediawiki/2013/f/f4/PB_LogoMap2.gif" style="margin-top:13px;" height="25px"/> | |
- | + | </a> | |
- | + | </div> | |
- | + | ||
- | + | <ul id="nav"> | |
- | + | <!--Redirects to Project Tree--> | |
- | + | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Project/Overview" title="Project Overview">PROJECT</a> | |
- | + | <div class="subnav"> | |
- | + | <ul> | |
- | + | <li style="margin-left:14.5px"> <a href="https://2013.igem.org/Team:UIUC_Illinois/Project/Overview" title="Project_Overview">OVERVIEW</a></li> | |
- | + | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Project/LactoBROcillus" title="Detect">LACTOBROCILLUS</a> </li> | |
- | + | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Project/Caffeine" title="Caffeine_Dehydrogenase">CAFFEINE DEHYDROGENASE</a> </li> | |
- | + | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Project/Bioreactor" title="Bioreactor">BIOREACTOR</a> </li> | |
- | + | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Project/Sabotage" title="Optogenetic_Orthogonality">OPTOGENETIC ORTHOGONALITY</a> </li> | |
- | + | </ul> | |
- | + | </div> | |
- | + | </li> | |
- | + | ||
- | + | <!--Redirects to Achievements Tree--> | |
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Results" title="Achievements">ACHIEVEMENTS</a> | ||
+ | <div class="subnav"> | ||
+ | <ul> | ||
+ | <li style="margin-left:141px;"> <a href="https://2014.igem.org/Team:UIUC_Illinois/Results" title="Results">RESULTS</a> | ||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Parts" title="Parts">PARTS</a></li> | ||
+ | <li style="width:167px;"> <a href="https://2014.igem.org/Team:UIUC_Illinois/Medal_Fulfillment" title="Medal Fulfillment">MEDAL FULFILLMENT</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </li> | ||
+ | |||
+ | <!--Redirects to Software Tree--> | ||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Software/Overview" title="Software Overview">SOFTWARE</a> | ||
+ | <div class="subnav"> | ||
+ | <ul> | ||
+ | <li style="margin-left: 141px;"> <a href="https://2014.igem.org/Team:UIUC_Illinois/Software/Overview" title="Software Overview">OVERVIEW</a></li> | ||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Software/Cutsultant" title="Cutsultant">CUTSULTANT</a></li> | ||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Software/Evolvalvability" title="Evolvability">EVOLVABILITY</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </li> | ||
+ | |||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Human_Practice/Overview" title="Human Practice Overview">HUMAN PRACTICE</a> | ||
+ | <div class="subnav"> | ||
+ | <ul> | ||
+ | <li style="margin-left:141px;"> <a href="https://2014.igem.org/Team:UIUC_Illinois/Human_Practice/Overview" title="Human Practice Overview">OVERVIEW</a> </li> | ||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Human_Practice/ethics" title="ethics">ETHICS</a></li> | ||
+ | <li style="width:168px;"> <a href="https://2014.igem.org/Team:UIUC_Illinois/Human_Practice/Waste_Water" title="Waste_Water">WASTE WATER</a></li> | ||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Human_Practice/Theobromine_Toxicity" title="Theobromine_Toxicity">THEOBROMINE TOXICITY</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </li> | ||
+ | |||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Safety" title="Safety">SAFETY</a> | ||
+ | <div class="subnav"> | ||
+ | |||
+ | </div> | ||
+ | </li> | ||
+ | |||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Collaboration" title="Collaboration">COLLABORATION</a> | ||
+ | <div class="subnav"> | ||
+ | <ul> | ||
+ | <li style="margin-left:500px"> <a href="https://2014.igem.org/Team:UIUC_Illinois/Collaboration" title="Collaboration">COLLABORATION</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </li> | ||
+ | |||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Notes" title="Notebook">NOTEBOOK</a> | ||
+ | <div class="subnav"> | ||
+ | <ul> | ||
+ | <li style="margin-left:649.5px"> <a href="https://2014.igem.org/Team:UIUC_Illinois/Notebook" title="Notes">NOTES</a> </li> | ||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Protocols" title="Protocols">PROTOCOLS</a> </li> | ||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Bibliography" title="Bibliography">BIBLIOGRAPHY</a> </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </li> | ||
+ | |||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Team" title="Team">TEAM</a> | ||
+ | <div class="subnav"> | ||
+ | <ul> | ||
+ | <li style="margin-left:522.5px;"> <a href="https://2014.igem.org/Team:UIUC_Illinois/Team" title="Team">OUR TEAM</a></li> | ||
+ | <li> <a href="https://2014.igem.org/Team:UIUC_Illinois/Attributions" title="Attributions">ATTRIBUTIONS</a> </li> | ||
+ | <li style="width:167px;"> <a href="https://2014.igem.org/Team:UIUC_Illinois/Acknowledgements" title="Acknowledgements">ACKNOWLEDGEMENTS</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </li> | ||
+ | </ul> | ||
- | + | <div id="igemlogo" class="sidelogos"> | |
- | + | <a href="https://2014.igem.org/Main_Page" title="iGEM 2014" target="_blank"> | |
- | + | <img src="https://static.igem.org/mediawiki/2013/d/d0/PB_LogoiGEM.gif" height="30px"> | |
- | + | </a> | |
- | + | </div> | |
- | + | <div id="onofflogo"> | |
- | + | <a onclick="changemenu()" title="iGEM wiki buttons"> | |
- | + | <img id="ooswitch" src="#Wiki_Menu" style="margin-top:0px;" height="15px"> | |
- | + | </a> | |
- | + | </div> | |
- | + | </div> | |
- | + | </div> | |
- | + | <div style="clear: both;"></div> | |
- | + | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | <script type="text/javascript"> |
+ | function changemenu(){ | ||
+ | if($('.left-menu').is(":visible")) { | ||
+ | $('.left-menu').hide(); | ||
+ | $('.right-menu').hide(); | ||
+ | document.getElementById('ooswitch').style.backgroundColor = "rgb(46,43,52)"; | ||
+ | }else{ | ||
+ | $('.left-menu').show(); | ||
+ | $('.right-menu').show(); | ||
+ | document.getElementById('ooswitch').style.backgroundColor = "rgb(228,45,51)"; | ||
+ | } | ||
+ | } | ||
+ | </script> |
Revision as of 05:10, 20 August 2014