Team:Evry/Template:Menu
From 2014.igem.org
(Difference between revisions)
(18 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<head> | <head> | ||
<script> | <script> | ||
+ | |||
+ | $(document).ready(function(){ | ||
+ | $("#fakemenu").append($("#menubar li")); | ||
+ | $("#top-section").remove(); | ||
+ | |||
+ | }); | ||
+ | /* | ||
sfHover = function() { | sfHover = function() { | ||
var sfEls = document.getElementById("menu").getElementsByTagName("LI"); | var sfEls = document.getElementById("menu").getElementsByTagName("LI"); | ||
Line 13: | Line 20: | ||
} | } | ||
} | } | ||
- | if (window.attachEvent) window.attachEvent("onload", sfHover); | + | if (window.attachEvent) window.attachEvent("onload", sfHover);*/ |
</script> | </script> | ||
</head> | </head> | ||
Line 25: | Line 32: | ||
- | <header id="top-header | + | <header id="top-header"> |
- | <nav class="navbar navbar-default" role="navigation"> | + | <nav class="navbar navbar-default navbar-fixed-top" role="navigation"> |
<div class="container-fluid"> | <div class="container-fluid"> | ||
<!-- Brand and toggle get grouped for better mobile display --> | <!-- Brand and toggle get grouped for better mobile display --> | ||
Line 38: | Line 45: | ||
<span class="icon-bar"></span> | <span class="icon-bar"></span> | ||
</button> | </button> | ||
- | <a class="navbar-brand" href="#" style="width: | + | <a class="navbar-brand" href="#" style="width:90px"><img class="logo-header" src="https://static.igem.org/mediawiki/2014/2/22/Logo2014v2.png" style="position:relative;top:-22px;left:-0" /></a> |
</div> | </div> | ||
Line 44: | Line 51: | ||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | ||
<ul class="nav navbar-nav"> | <ul class="nav navbar-nav"> | ||
+ | <li><a href="https://2014.igem.org/Team:Evry">Home</a></li> | ||
<li class="dropdown"> | <li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Overview <span class="caret"></span></a> | <a href="#" class="dropdown-toggle" data-toggle="dropdown">Overview <span class="caret"></span></a> | ||
Line 96: | Line 104: | ||
<li class="dropdown"> | <li class="dropdown"> | ||
- | <a href="#" class="dropdown-toggle" data-toggle="dropdown">Policy | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown">Policy & Practices <span class="caret"></span></a> |
<ul class="dropdown-menu" role="menu"> | <ul class="dropdown-menu" role="menu"> | ||
<li><a href="https://2014.igem.org/Team:Evry/Policy and Practices/Philosophy">Philosophy</a></li> | <li><a href="https://2014.igem.org/Team:Evry/Policy and Practices/Philosophy">Philosophy</a></li> | ||
Line 104: | Line 112: | ||
</li> | </li> | ||
<li class="dropdown"> | <li class="dropdown"> | ||
- | <a href="#" class="dropdown-toggle" data-toggle="dropdown">Interlab | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown">Interlab <span class="caret"></span></a> |
<ul class="dropdown-menu" role="menu"> | <ul class="dropdown-menu" role="menu"> | ||
<li><a href="https://2014.igem.org/Team:Evry/Interlab_Study/Results">Aim & Results</a></li> | <li><a href="https://2014.igem.org/Team:Evry/Interlab_Study/Results">Aim & Results</a></li> | ||
Line 113: | Line 121: | ||
<li><a href="https://2014.igem.org/Team:Evry/Spon-ge-sors">Spon-ge-sors</a></li> | <li><a href="https://2014.igem.org/Team:Evry/Spon-ge-sors">Spon-ge-sors</a></li> | ||
+ | </ul> | ||
+ | <ul class="nav navbar-nav navbar-right"> | ||
+ | |||
<li class="dropdown"> | <li class="dropdown"> | ||
- | <a href="#" class="dropdown-toggle" data-toggle="dropdown"> | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown">IGEM Bar <span class="caret"></span></a> |
- | <ul class="dropdown-menu" role="menu"> | + | <ul id="fakemenu" class="dropdown-menu" role="menu"> |
</ul> | </ul> | ||
</li> | </li> | ||
+ | <li><a style="max-height:50px;"href="" ><img src="https://static.igem.org/mediawiki/2014/5/5d/Logo_Evry.jpg" style="width:60px;position:relative;top:-10px" /></a> | ||
+ | </li> | ||
</ul> | </ul> | ||
</div><!-- /.navbar-collapse --> | </div><!-- /.navbar-collapse --> | ||
Line 128: | Line 141: | ||
<ul id="menu"> | <ul id="menu"> | ||
- | <li><a href="https://2014.igem.org/Team:Evry">Home</a></li> | + | <li><a href="https://2014.igem.org/Team:Evry" style="width:55px;position:relative;top:-18px>Home</a></li> |
<li><a>Overview</a> | <li><a>Overview</a> | ||
<ul> | <ul> |
Latest revision as of 01:01, 18 October 2014