Difference between revisions of "Template:Team:Harvard BioDesign/Templates:header"
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <html lang="en"> | ||
+ | <head> | ||
+ | <title>Bootstrap Collapsable Header</title> | ||
+ | <meta charset="utf-8"> | ||
+ | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
+ | <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> | ||
+ | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | ||
+ | <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> | ||
+ | </head> | ||
+ | <body> | ||
+ | |||
+ | <nav class="navbar navbar-inverse"> | ||
+ | <div class="container-fluid"> | ||
+ | <div class="navbar-header"> | ||
+ | <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar"> | ||
+ | <span class="icon-bar"></span> | ||
+ | <span class="icon-bar"></span> | ||
+ | <span class="icon-bar"></span> | ||
+ | </button> | ||
+ | <a class="navbar-brand" href="#">Harvard BioDesign 2015</a> | ||
+ | </div> | ||
+ | <div class="collapse navbar-collapse" id="myNavbar"> | ||
+ | <ul class="nav navbar-nav"> | ||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign">Home</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Team">Team</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Project">Project</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Results">Results</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Notebook">Notebook</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Parts">Parts</a></li> | ||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Collaborations">Collaborations</a></li> | ||
+ | |||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Attributions">Attributions</a></li> | ||
+ | |||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Practices">Practices</a></li> | ||
+ | |||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Safety">Safety</a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
+ | </nav> | ||
+ | <div id="bannerContainer"></div> | ||
+ | |||
+ | </html> | ||
+ | |||
+ | <!-- | ||
+ | |||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> | ||
− | + | ||
− | + | .dropdown:hover .dropdown-menu { | |
− | + | display: block; | |
− | + | } | |
− | + | ||
</style> | </style> | ||
Line 14: | Line 60: | ||
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> | <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> | ||
− | <nav class="navbar navbar-inverse navbar-fixed-top"> | + | <nav class="navbar navbar-inverse navbar-fixed-top"> |
<div class="container-fluid"> | <div class="container-fluid"> | ||
Line 30: | Line 76: | ||
</ul> | </ul> | ||
</li> | </li> | ||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Results">Results</a></li> | ||
<li class = "dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="https://2015.igem.org/Team:Harvard_BioDesign/Parts">Parts <span class="caret"></span></a> | <li class = "dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="https://2015.igem.org/Team:Harvard_BioDesign/Parts">Parts <span class="caret"></span></a> | ||
<ul class="dropdown-menu"> | <ul class="dropdown-menu"> | ||
Line 37: | Line 84: | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | |||
− | |||
<li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Notebook">Notebook</a></li> | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Notebook">Notebook</a></li> | ||
+ | |||
+ | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Collaborations">Collaborations</a></li> | ||
<li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Attributions">Attributions</a></li> | <li><a href="https://2015.igem.org/Team:Harvard_BioDesign/Attributions">Attributions</a></li> | ||
Line 52: | Line 99: | ||
</nav> | </nav> | ||
− | + | <div id="bannerContainer"></div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | </html> | ||
− | + | --> |
Latest revision as of 16:22, 13 July 2015