Difference between revisions of "Template:UFlorida/Menu"

 
(229 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
 +
 
<head>
 
<head>
   <meta charset="utf-8">
+
   <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600' rel='stylesheet' type='text/css'>
   <meta name="viewport" content="width=device-width, initial-scale=1">
+
   <script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
+
   <link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:400,300,700' rel='stylesheet' type='text/css'>
   <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
+
   <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
   <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
+
   <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
 
</head>
 
</head>
 +
 +
 +
<!-- STYLE -->
 +
<style>
 +
  #sideMenu,
 +
  #top_title {
 +
    display: none;
 +
  }
 +
 +
  #content {
 +
    padding: 0px;
 +
    width: 90%;
 +
    margin-top: -7px;
 +
    margin-left: 5%;
 +
    margin-right: 5%;
 +
  }
 +
 +
  body {
 +
    background-color: white;
 +
  }
 +
 +
  #bodyContent h1,
 +
  #bodyContent h2,
 +
  #bodyContent h3,
 +
  #bodyContent h4,
 +
  #bodyContent h5 {
 +
    margin-bottom: 0px;
 +
  }
 +
 +
  .top-banner {
 +
    width:100%;
 +
    height: 250px;
 +
    background-image: url("https://static.igem.org/mediawiki/2017/8/8c/Frogs2.jpg");
 +
    background-size: 100% 100%;
 +
    background-repeat: no-repeat;
 +
  }
 +
</style>
 +
 +
 +
<!-- Body -->
 +
 
<body>
 
<body>
  
<nav class="navbar navbar-inverse">
+
  <div class="top-banner">
   <div class="container-fluid">
+
    <!-- Whatever -->
 +
   </div>
 +
  <nav class="navbar navbar-static-top navbar-default">
 
     <div class="navbar-header">
 
     <div class="navbar-header">
       <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
+
       <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
        <span class="icon-bar"></span>
+
                  <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
+
                  <span class="icon-bar"></span>
        <span class="icon-bar"></span>                      
+
                  <span class="icon-bar"></span>
      </button>
+
                  <span class="icon-bar"></span>
       <a class="navbar-brand" href="#">WebSiteName</a>
+
              </button>
 +
 
 +
       <a class="navbar-brand" id="Team Home Page" href="https://2017.igem.org/Team:UFlorida">UFlorida</a>
 +
 
 +
      <div id="navbar" class="navbar-collapse collapse">
 +
        <ul class="nav navbar-nav">
 +
 
 +
          <!--index-->
 +
 
 +
          <li class="active"><a href="https://2017.igem.org/Team:UFlorida">Home</a></li>
 +
 
 +
          <!--team-->
 +
          <li class="dropdown">
 +
 
 +
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Team<span class="caret"></span></a>
 +
 
 +
            <ul class="dropdown-menu">
 +
 
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/Team">Team</a></li>
 +
 
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/Collaborations">Collaborations</a></li>
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/Attributions">Attributions</a></li>
 +
 
 +
 
 +
            </ul>
 +
          </li>
 +
 
 +
 
 +
          <!--project-->
 +
          <li class="dropdown">
 +
 
 +
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Project<span class="caret"></span></a>
 +
 
 +
            <ul class="dropdown-menu">
 +
 
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/Description">Description</a></li>
 +
 
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/Design">Design</a></li>
 +
 
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/Experiments">Experiments</a></li>
 +
 
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/Notebook">Notebook</a></li>
 +
 
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/InterLab">InterLab</a></li>
 +
 
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/Results">Results</a></li>
 +
            </ul>
 +
          </li>
 +
 
 +
 
 +
          <!--parts-->
 +
          <li class="dropdown">
 +
 
 +
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Parts<span class="caret"></span></a>
 +
 
 +
            <ul class="dropdown-menu">
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/Parts">Parts</a></li>
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/Basic_Part">Basic Parts</a></li>
 +
 
 +
            </ul>
 +
          </li>
 +
 
 +
          <!--human practices-->
 +
          <li class="dropdown">
 +
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Human Practices<span
 +
                                          class="caret"></span></a>
 +
            <ul class="dropdown-menu">
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/HP/Silver">Silver HP</a></li>
 +
              <li><a href="https://2017.igem.org/Team:UFlorida/Engagement">Public Engagement</a></li>
 +
            </ul>
 +
          </li>
 +
 
 +
        </ul>
 +
      </div>
 
     </div>
 
     </div>
    <div class="collapse navbar-collapse" id="myNavbar">
+
   </nav>
      <ul class="nav navbar-nav">
+
 
        <li class="active"><a href="#">Home</a></li>
+
        <li class="dropdown">
+
          <a class="dropdown-toggle" data-toggle="dropdown" href="#">Page 1 <span class="caret"></span></a>
+
          <ul class="dropdown-menu">
+
            <li><a href="#">Page 1-1</a></li>
+
            <li><a href="#">Page 1-2</a></li>
+
            <li><a href="#">Page 1-3</a></li>
+
          </ul>
+
        </li>
+
        <li><a href="#">Page 2</a></li>
+
        <li><a href="#">Page 3</a></li>
+
      </ul>
+
      <ul class="nav navbar-nav navbar-right">
+
        <li><a href="#"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>
+
        <li><a href="#"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
+
      </ul>
+
    </div>
+
   </div>
+
</nav>
+
 
+
 
<div class="container">
 
<div class="container">
   <h3>Collapsible Navbar</h3>
+
   <!-- Rest of the page -->
  <p>In this example, the navigation bar is hidden on small screens and replaced by a button in the top right corner (try to re-size this window).
+
  <p>Only when the button is clicked, the navigation bar will be displayed.</p>
+
 
</div>
 
</div>
  
 
</body>
 
</body>
 +
 
</html>
 
</html>

Latest revision as of 23:15, 1 November 2017