Team:Evry/Template:Menu

From 2014.igem.org

(Difference between revisions)
 
(24 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" class="col-lg-10 col-sm-12">
+
<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="#"><img class="logo-header" src="https://static.igem.org/mediawiki/2014/5/5d/Logo_Evry.jpg" height="55px" /></a>
+
       <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 51: Line 59:
           </ul>
           </ul>
         </li>
         </li>
-
      </ul>
+
 
-
<ul class="nav navbar-nav">
+
         <li class="dropdown">
         <li class="dropdown">
           <a href="#" class="dropdown-toggle" data-toggle="dropdown">Team <span class="caret"></span></a>
           <a href="#" class="dropdown-toggle" data-toggle="dropdown">Team <span class="caret"></span></a>
Line 63: Line 70:
           </ul>
           </ul>
         </li>
         </li>
-
      </ul>
 
-
<ul class="nav navbar-nav">
 
         <li class="dropdown">
         <li class="dropdown">
           <a href="#" class="dropdown-toggle" data-toggle="dropdown">Biology <span class="caret"></span></a>
           <a href="#" class="dropdown-toggle" data-toggle="dropdown">Biology <span class="caret"></span></a>
Line 77: Line 82:
           </ul>
           </ul>
         </li>
         </li>
-
      </ul>
+
 
-
     
+
-
<ul class="nav navbar-nav">
+
         <li class="dropdown">
         <li class="dropdown">
-
           <a href="#" class="dropdown-toggle" data-toggle="dropdown">Biology <span class="caret"></span></a>
+
           <a href="#" class="dropdown-toggle" data-toggle="dropdown">Modeling <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/Model/Sponge">Sponge Model</a></li>
  <li><a href="https://2014.igem.org/Team:Evry/Model/Sponge">Sponge Model</a></li>
Line 88: Line 91:
           </ul>
           </ul>
         </li>
         </li>
-
      </ul>
+
 
-
<ul class="nav navbar-nav">
+
         <li class="dropdown">
         <li class="dropdown">
           <a href="#" class="dropdown-toggle" data-toggle="dropdown">Notebook <span class="caret"></span></a>
           <a href="#" class="dropdown-toggle" data-toggle="dropdown">Notebook <span class="caret"></span></a>
Line 100: Line 102:
           </ul>
           </ul>
         </li>
         </li>
-
      </ul>
+
 
-
<ul class="nav navbar-nav">
+
         <li class="dropdown">
         <li class="dropdown">
-
           <a href="#" class="dropdown-toggle" data-toggle="dropdown">Policy and Practices <span class="caret"></span></a>
+
           <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 110: Line 111:
           </ul>
           </ul>
         </li>
         </li>
-
      </ul>
+
      <li class="dropdown">
-
<li><a href="https://2014.igem.org/Team:Evry/Interlab_Study">Interlab Study</a></li>
+
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">Interlab <span class="caret"></span></a>
 +
          <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/Used_Devices">Used Devices</a></li>
 +
          <li><a href="https://2014.igem.org/Team:Evry/Interlab_Study/Notebook">Notebook</a></li>
 +
          </ul>
 +
        </li>
 +
 
<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">
 +
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">IGEM Bar <span class="caret"></span></a>
 +
          <ul id="fakemenu" class="dropdown-menu" role="menu">
 +
 +
          </ul>
 +
        </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>
     </div><!-- /.navbar-collapse -->
     </div><!-- /.navbar-collapse -->
   </div><!-- /.container-fluid -->
   </div><!-- /.container-fluid -->
Line 121: 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