Difference between revisions of "Team:NTNU Trondheim/Header"

 
(206 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{:Team:NTNU_Trondheim/Style}}
 
{{:Team:NTNU_Trondheim/Style}}
 
<html>
 
<html>
 +
 
<head>
 
<head>
    <link rel="stylesheet" href="style.css">
+
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
+
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css">
 +
 
 +
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
</head>
 
</head>
  
<script src="script.js"></script>
+
<style>
 +
  html {
 +
    padding: 0 !important;
 +
  }
  
 +
  #top-menu-under.noprint {
 +
    display: none !important;
 +
  }
 +
</style>
 +
 +
  <a href="https://2018.igem.org/Team:NTNU_Trondheim">
 +
    <img class="homebtn" src="https://static.igem.org/mediawiki/2018/e/eb/T--NTNU_Trondheim--navlogo.png">
 +
  </a>
  
 
<body>
 
<body>
  
<ul class="navbar">
 
  <li class="menu_item"><a class="dropbtn" href="#home" id="menu-home">Home</a></li>
 
  
   <li class="dropdown">
+
   <div class="toggle">
     <a href="javascript:void(0)" class="dropbtn" id="menu-team">Team</a>
+
     <i class="fas fa-bars menu_bar fa-2x" style="color: #fff"></i>
    <div class="dropdown-content">
+
  </div>
       <a href="#">Team Members</a>
+
  <div class="nav-wrapper">
       <a href="#">Instructors</a>
+
    <ul class="ntnu_navbar">
    </div>
+
 
  </li>
+
 
 +
        <li class="ntnu_menu_option ntnu_dropdown no-icon">
 +
          <a class="ntnu_dropbtn" href="https://2018.igem.org/Team:NTNU_Trondheim" id="menu-home">
 +
            <i class="fas fa-home"></i>
 +
          </a>
 +
        </li>
 +
 
 +
 
 +
      <li class="ntnu_menu_option ntnu_dropdown no-icon">
 +
        <a href="javascript:void(0)" class="ntnu_dropbtn" onclick="void(0)" id="menu-team">Team</a>
 +
        <div class="ntnu_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Team">Team Members</a>
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Collaborations">Collaborations</a>
 +
        </div>
 +
      </li>
 +
 
 +
      <li class="ntnu_menu_option ntnu_dropdown no-icon">
 +
        <a href="javascript:void(0)" class="ntnu_dropbtn" id="menu-project">Project</a>
 +
        <div class="ntnu_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Description">Description</a>
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Design">Design</a>
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Model">Model</a>
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Results">Results</a>
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Demonstrate">Demonstrate</a>
 +
        </div>
 +
       </li>
 +
 
 +
      <li class="ntnu_menu_option ntnu_dropdown no-icon">
 +
        <a href="javascript:void(0)" class="ntnu_dropbtn" id="menu-lab">Lab</a>
 +
        <div class="ntnu_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Experiments">Lab Journal</a>
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Protocols">Protocols</a>
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Measurement">Measurement</a>
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Safety">Safety</a>
 +
        </div>
 +
       </li>
 +
 
 +
        <li class="ntnu_menu_option ntnu_dropdown no-icon">
 +
        <a href="javascript:void(0)" class="ntnu_dropbtn" id="menu-parts">Parts</a>
 +
        <div class="ntnu_dropdown_content">
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Parts">Parts Overview</a>
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Improve">New Part</a>
 +
          <!--
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Basic_Part">Basic Parts</a>
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Composite_Part">Composite Parts</a>
 +
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Part_Collection">Part Collection</a>
 +
          -->
 +
        </div>
 +
      </li>
 +
 
 +
        <li class="ntnu_menu_option ntnu_dropdown no-icon">
 +
          <a class="ntnu_dropbtn" href="https://2018.igem.org/Team:NTNU_Trondheim/InterLab" id="menu-interlabs">InterLab</a>
 +
        </li>
  
    <li class="dropdown">
+
        <li class="ntnu_menu_option ntnu_dropdown no-icon">
    <a href="javascript:void(0)" class="dropbtn" id="menu-project">Project</a>
+
        <a href="javascript:void(0)" class="ntnu_dropbtn" id="menu-hp">Human Practices</a>
    <div class="dropdown-content">
+
        <div class="ntnu_dropdown_content">
      <a href="#">Description</a>
+
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Human_Practices">Integrated Human Practices</a>
      <a href="#">Design</a>
+
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Public_Engagement">Education and Engangement</a>
      <a href="#">Experiments</a>
+
         </div>
        <a href="#">Notebook</a>
+
      </li>
        <a href="#">InterLab</a>
+
        <a href="#">Model</a>
+
        <a href="#">Results</a>
+
        <a href="#">Demonstrate</a>
+
        <a href="#">Improve</a>
+
         <a href="#">Attributions</a>
+
    </div>
+
  </li>
+
  
    <li class="dropdown">
+
      <li class="ntnu_menu_option ntnu_dropdown no-icon">
    <a href="javascript:void(0)" class="dropbtn" id="menu-parts">Parts</a>
+
        <a href="javascript:void(0)" class="ntnu_dropbtn" id="menu-acknowledge">Acknowledgements</a>
    <div class="dropdown-content">
+
        <div class="ntnu_dropdown_content" style="min-width: 170px">
      <a href="#">Parts Overview</a>
+
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Sponsors">Sponsors</a>
      <a href="#">Basic Parts</a>
+
          <a href="https://2018.igem.org/Team:NTNU_Trondheim/Attributions">Attributions</a>
        <a href="#">Composite Parts</a>
+
        </div>
    </div>
+
      </li>
  </li>
+
  
    <li class="menu_item"><a class="dropbtn" href="#home" id="menu-safety">Safety</a></li>
+
      <li class="ntnu_menu_option ntnu_dropdown no-icon">
 +
        <a class="ntnu_dropbtn" href="https://2018.igem.org/Team:NTNU_Trondheim/Awards" id="menu-jamboree">Awards</a>
 +
        </li>
 +
    </ul>
  
        <li class="dropdown">
+
  </div>
    <a href="javascript:void(0)" class="dropbtn" id="menu-hp">Human Practices</a>
+
    <div class="dropdown-content">
+
      <a href="#">Human Practices</a>
+
      <a href="#">Education and Engangement</a>
+
    </div>
+
  </li>
+
  
        <li class="dropdown">
+
<script src="https://code.jquery.com/jquery-3.2.1.js"></script>
    <a href="javascript:void(0)" class="dropbtn" id="menu-awards">Awards</a>
+
<script type="text/javascript">
    <div class="dropdown-content">
+
  $(document).ready(function () {
       <a href="#">Coming soon....</a>
+
       $('.menu_bar').click(function () {
    </div>
+
          $('ul.ntnu_navbar').toggleClass('active');
   </li>
+
          $('.toggle').toggleClass('active');
 +
      })
 +
   })
 +
</script>
  
</ul>
+
<script>
 +
    $(document).ready(function () {
 +
      $(':hover').click(function () {
 +
          $(":hover").unbind('mouseenter mouseleave');
 +
      })
 +
  })
 +
</script>
  
</body>
+
<script type="text/javascript">
 +
$('#clickme').click(function() {
 +
  $('html, body').animate({ scrollTop: $('#welcome').offset().top }, 'slow');
 +
  });
 +
</script>
  
 
</html>
 
</html>

Latest revision as of 03:15, 18 October 2018