Difference between revisions of "Template:Newcastle/navbar2"

 
(76 intermediate revisions by 5 users not shown)
Line 28: Line 28:
 
     href="https://2018.igem.org/Template:Newcastle/CSSbase?action=raw&ctype=text/css" />
 
     href="https://2018.igem.org/Template:Newcastle/CSSbase?action=raw&ctype=text/css" />
 
     <link rel="stylesheet" type="text/css"  
 
     <link rel="stylesheet" type="text/css"  
     href="https://2018.igem.org/Template:Newcastle/CSSvendor?action=raw&ctype=text/css" />
+
     href="https://2018.igem.org/Template:Newcastle/CSSvendorNoReveal?action=raw&ctype=text/css" />
     <link rel="stylesheet" type="text/css"  
+
     <link rel="stylesheet" type="text/css"
 
     href="https://2018.igem.org/Template:Newcastle/CSSmain?action=raw&ctype=text/css" />
 
     href="https://2018.igem.org/Template:Newcastle/CSSmain?action=raw&ctype=text/css" />
 
<!--    <link rel="stylesheet" type="text/css"  
 
<!--    <link rel="stylesheet" type="text/css"  
Line 92: Line 92:
 
.navbar_li a:hover:not(.active) {
 
.navbar_li a:hover:not(.active) {
 
     background-color: #39b54a;
 
     background-color: #39b54a;
}
 
 
.navbar_dropdown_li {
 
    display: inline-block;
 
 
}
 
}
  
Line 101: Line 97:
 
     display: none;
 
     display: none;
 
     position: absolute;
 
     position: absolute;
     background-color: #39b54a;
+
     background-color: #333;
 
     z-index: 1;
 
     z-index: 1;
 +
}
 +
 +
.navbar_dropdown_content a:hover {
 +
    background-color: #39b54a;
 
}
 
}
  
Line 112: Line 112:
 
}
 
}
  
.navbar_dropdown_li:hover .navbar_dropdown_content {
+
.navbar_li:hover .navbar_dropdown_content {
 
     display: block;
 
     display: block;
 +
}
 +
 +
#expand_btn {
 +
    z-index: 0;
 +
    position: fixed;
 +
    right: 0px;
 +
}
 +
 +
.toggle {
 +
    background-color: #333;
 +
    color: white;
 +
    text-indent: 0px;
 +
 +
}
 +
 +
.toggle:hover {
 +
  background-color: #39b54a;
 
}
 
}
  
  
 
</style>
 
</style>
 +
 +
<script>
 +
 +
function myFunction() {
 +
    var x = document.getElementById("navbar");
 +
    if (x.style.display === "none") {
 +
        x.style.display = "block";
 +
    } else {
 +
        x.style.display = "none";
 +
    }
 +
}
 +
 +
</script>
  
 
</head>
 
</head>
Line 124: Line 154:
  
  
<div style="position: fixed; top: 16px; left:0px; width:100%; height:50px">
+
<div style="position: fixed; top: 16px; left:0px; width:100%; height:50px; z-index:100">
<ul class="navbar_ul" style="margin:0px">
+
<ul id="navbar" class="navbar_ul" style="margin:0px">
 
   <li class="navbar_li"><a class="site-logo" style="padding:7px" href="https://2018.igem.org/Team:Newcastle">
 
   <li class="navbar_li"><a class="site-logo" style="padding:7px" href="https://2018.igem.org/Team:Newcastle">
 
                 <img src="https://static.igem.org/mediawiki/2018/thumb/2/22/T--Newcastle--RoundLogo.png/555px-T--Newcastle--RoundLogo.png" width=50px alt="Homepage">
 
                 <img src="https://static.igem.org/mediawiki/2018/thumb/2/22/T--Newcastle--RoundLogo.png/555px-T--Newcastle--RoundLogo.png" width=50px alt="Homepage">
 
             </a></li>
 
             </a></li>
   <li class="navbar_li"><a href="#news">Home</a></li>
+
 
   <li class="navbar_li"><a href="#contact">Project</a></li>
+
 
  <li class="navbar_dropdown_li"><a href="javascript:void(0)">Project</a>
+
   <li class="navbar_li"><a href="https://2018.igem.org/Team:Newcastle">Home</a></li>
 +
 
 +
   <li class="navbar_li"><a href="#">Project</a>
 
       <div class="navbar_dropdown_content">
 
       <div class="navbar_dropdown_content">
           <a href="#">Description</a>
+
           <a href="https://2018.igem.org/Team:Newcastle/Description">Description</a>
           <a href="#">Design</a>
+
           <a href="https://2018.igem.org/Team:Newcastle/Safety">Safety</a>
           <a href="#">Parts</a>
+
           <a href="https://2018.igem.org/Team:Newcastle/Parts">Parts Used</a>
           <a href="#">Software</a>
+
           <a href="https://2018.igem.org/Team:Newcastle/Part_Collection">New Parts Collection</a>                
          <a href="#">Safety</a>
+
 
       </div>
 
       </div>
 
   </li>
 
   </li>
  
   <li class="navbar_li"><a href="#about">Human Practices</a></li>
+
   <li class="navbar_li"><a href="#">Human Practices</a>
  <li class="navbar_li"><a href="#about">Hardware</a></li>
+
      <div class="navbar_dropdown_content">
  <li class="navbar_li"><a href="#about">Modelling</a></li>
+
          <a href="https://2018.igem.org/Team:Newcastle/Human_Practices">Integrated HP</a>
  <li class="navbar_li"><a href="#about">Results</a></li>
+
          <a href="https://2018.igem.org/Team:Newcastle/Public_Engagement">Outreach and Public Engagement</a>
  <li class="navbar_li"><a href="#about">Team</a></li>
+
      </div>
  <li class="navbar_li"><a href="#about">Notebook</a></li>
+
   </li>
   <li class="navbar_li"><a href="#about">Judging</a></li>
+
  
 +
  <li class="navbar_li"><a href="#">Hardware</a>
 +
      <div class="navbar_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:Newcastle/Hardware">Hardware Overview</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Circuitry">Circuitry</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Results">Results</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Developments">Future Developments</a>
 +
      </div>
 +
  </li>
  
 +
  <li class="navbar_li"><a href="#">Software</a>
 +
      <div class="navbar_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:Newcastle/Software">Software Overview</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Software/NH1">NH-1</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Software/OT">Opentrons</a>
 +
      </div>
 +
  </li>
 +
 +
  <li class="navbar_li"><a href="#">Wetware</a>
 +
      <div class="navbar_dropdown_content">
 +
         
 +
          <a href="https://2018.igem.org/Team:Newcastle/Results/Endophyte1">Root Colonisation</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Results/Endophyte">Endophytic Chassis</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Results/Chemotaxis">Chemotaxis</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Results/Operon">Naringenin Operon</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Protocols">Protocols</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Experiments">Lab Book</a>
 +
      </div>
 +
 +
  </li>
 +
 +
  <li class="navbar_li"><a href="#">Modelling</a>
 +
      <div class="navbar_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:Newcastle/Model">Modelling Overview</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Modelling/Community">Microbial Community Modelling</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Naringenin_Pathway">Naringenin Pathway</a>
 +
      </div>
 +
  </li>
 +
 +
  <li class="navbar_li"><a href="#">Measurement</a>
 +
      <div class="navbar_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:Newcastle/InterLab">InterLab Study</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Measurement">Measurement, Automation & Reproducibility</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Measurement/Methods">Materials and Methods</a>
 +
      </div>
 +
  </li>
 +
 +
  <li class="navbar_li"><a href="#">Team</a>
 +
      <div class="navbar_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:Newcastle/Team">Members</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Collaborations">Collaborations</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Attributions">Attributions</a>
 +
      </div>
 +
  </li>
 +
 +
  <li class="navbar_li"><a href="https://2018.igem.org/Team:Newcastle/Notebook">Notebook</a></li>
 +
 +
  <li class="navbar_li"><a href="#">Judging</a>
 +
      <div class="navbar_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:Newcastle/Medals">Medals</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Improve">Improve</a>
 +
          <a href="https://2018.igem.org/Team:Newcastle/Demonstrate">Demonstrate</a>
 +
      </div>
 +
  </li>
 +
 
 
</ul>
 
</ul>
</div>
 
  
 +
<div id="expand_btn"><button class="toggle" onclick="myFunction()">Hide/Show</button></div>
  
 +
</div>
  
    <!-- preloader
 
    ==================================================
 
    <div id="preloader">
 
        <div id="loader">
 
            <div class="line-scale-pulse-out">
 
                <div></div>
 
                <div></div>
 
                <div></div>
 
                <div></div>
 
                <div></div>
 
            </div>
 
        </div>
 
    </div> -->
 
 
      
 
      
 
</body>
 
</body>
  
 
</html>
 
</html>

Latest revision as of 22:32, 17 October 2018