Difference between revisions of "Team:Hawaii"

Line 563: Line 563:
  
 
<script type="text/javascript">
 
<script type="text/javascript">
  (function($) {
+
   
$.fn.menumaker = function(options) {  
+
var cssmenu = $(this), settings = $.extend({
+
  format: "dropdown",
+
  sticky: false
+
}, options);
+
return this.each(function() {
+
  $(this).find(".button-custom").on('click', function(){
+
    $(this).toggleClass('menu-opened');
+
    var mainmenu = $(this).next('ul');
+
    if (mainmenu.hasClass('open')) {
+
      mainmenu.slideToggle().removeClass('open');
+
    }
+
    else {
+
      mainmenu.slideToggle().addClass('open');
+
      if (settings.format === "dropdown") {
+
        mainmenu.find('ul').show();
+
      }
+
    }
+
  });
+
  cssmenu.find('li ul').parent().addClass('has-sub');
+
multiTg = function() {
+
    cssmenu.find(".has-sub").prepend('<span class="submenu-button-custom"></span>');
+
    cssmenu.find('.submenu-button-custom').on('click', function() {
+
      $(this).toggleClass('submenu-opened');
+
      if ($(this).siblings('ul').hasClass('open')) {
+
        $(this).siblings('ul').removeClass('open').slideToggle();
+
      }
+
      else {
+
        $(this).siblings('ul').addClass('open').slideToggle();
+
      }
+
    });
+
  };
+
  if (settings.format === 'multitoggle') multiTg();
+
  else cssmenu.addClass('dropdown');
+
  if (settings.sticky === true) cssmenu.css('position', 'fixed');
+
resizeFix = function() {
+
  var mediasize = 1020;
+
    if ($( window ).width() > mediasize) {
+
      cssmenu.find('ul').show();
+
    }
+
    // if ($(window).width() <= mediasize) {
+
    //  cssmenu.find('ul').hide().removeClass('open');
+
    // }
+
  };
+
  resizeFix();
+
  return $(window).on('resize', resizeFix);
+
});
+
  };
+
})(jQuery);
+
 
+
(function($){
+
$(document).ready(function(){
+
$("#cssmenu").menumaker({
+
  format: "multitoggle"
+
});
+
});
+
})(jQuery);
+
 
+
 
</script>
 
</script>
  
  
 
<header>
 
<header>
<nav id='cssmenu' style="position: fixed;">
+
<nav id="top-nav">
<div class="logo-header-custom">
+
  <a href="https://2018.igem.org/Team:Hawaii">
+
      <img class="logo" src="https://static.igem.org/mediawiki/2018/f/f3/T--Hawaii--UHSeal.jpg" height="60" width="auto">
+
      <!--<img class="logo" src="https://static.igem.org/mediawiki/2018/f/f3/T--Hawaii--UHSeal.jpg" height ="60" width="auto">-->
+
  </a>
+
</div>
+
<div id="head-mobile"></div>
+
<div class="button-custom">
+
  <div class="tiny-little-menu-word-above-button">MENU</div>
+
</div>
+
<ul>
+
  <li><a href="https://igem.org/2018_Judging_Form?team=Hawaii">JUDGING</a></li>
+
  <li><a href='https://2018.igem.org/Team:Hawaii/Notebook'>NOTEBOOK</a></li>
+
  <!-- <li><a href=''>FUTURE STUDIES</a>
+
 
       <ul>
 
       <ul>
        <li><a href="">IMPLEMENTATION</a></li>
+
        <li>
        <li><a href="">TARGET ORGANISM</a></li>
+
          <a href="index.html">Home</a>
 +
        </li>
 +
        <li class="dropdown">
 +
          <a href="team.html">Team</a>
 +
          <i class="fas fa-angle-down"></i>
 +
          <div class="dropdown-content">
 +
            <div><a href="experiments.html">Team Members</a></div>
 +
            <div><a href="notebook.html">Collaborations</a></div>
 +
          </div>
 +
        </li>
 +
 
 +
        <li class="dropdown">
 +
          <a href="project.html">Project</a>
 +
          <i class="fas fa-angle-down"></i>
 +
          <div class="dropdown-content">
 +
            <div><a href="description.html">Description</a></div>
 +
            <div><a href="design.html">Design</a></div>
 +
            <div><a href="parts.html">Experiments</a></div>
 +
            <div><a href="html/notebook.html">Notebook</a></div>
 +
            <div><a href="interlab.html">Interlab</a></div>
 +
            <div><a href="model.html">Model</a></div>
 +
            <div><a href="results.html">Results</a></div>
 +
            <div><a href="demonstrate.html">Demonstrate</a></div>
 +
            <div><a href="improve.html">Improve</a></div>
 +
            <div><a href="attributions.html">Attributions</a></div>
 +
          </div>
 +
        </li>
 +
 
 +
        <li class="dropdown">
 +
          <a href="parts.html">Parts</a>
 +
          <i class="fas fa-angle-down"></i>
 +
          <div class="dropdown-content">
 +
            <div><a href="parts_overview.html">Parts Overview</a></div>
 +
            <div><a href="basic_parts.html">Basic Parts</a></div>
 +
            <div><a href="composite_parts.html">Composite Parts</a></div>
 +
            <div><a href="part_collection.html">Part Collection</a></div>
 +
          </div>
 +
        </li>
 +
 
 +
        <li>
 +
          <a href="safety.html">Safety</a>
 +
        </li>
 +
 
 +
        <li class="dropdown">
 +
          <a href="html/human.html">Human Practices</a>
 +
          <i class="fas fa-angle-down"></i>
 +
          <div class="dropdown-content">
 +
            <div><a href="human.html">Human Practices</a></div>
 +
            <div><a href="education.html">Education and Engagement</a></div>
 +
          </div>
 +
        </li>
 +
 
 +
        <li class="dropdown">
 +
          <a href="html/awards.html">Awards</a>
 +
          <i class="fas fa-angle-down"></i>
 +
          <div class="dropdown-content">
 +
            <div><a href="applied_design.html">Applied Design</a></div>
 +
            <div><a href="entrepreneurship.html">Entrepreneurship</a></div>
 +
            <div><a href="hardware.html">Hardware</a></div>
 +
            <div><a href="model.html">Model</a></div>
 +
            <div><a href="plant.html">Plant</a></div>
 +
            <div><a href="software.html">Software</a></div>
 +
          </div>
 +
        </li>
 
       </ul>
 
       </ul>
  </li> -->
+
    </nav>
  <li><a href="https://2018.igem.org/Team:Hawaii/Human_Practices">HUMAN PRACTICES</a>
+
 
      <ul>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Human_Practices">INTRODUCTION</a></li>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Safety">SAFETY</a></li>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Design">DESIGN</a></li>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Public_Engagement">EDUCATION</a></li>
+
        <li><a href="">COLLABORATIONS</a></li>
+
        <li><a href="">BRONZE</a></li>
+
        <li><a href="">SILVER</a></li>
+
        <li><a href="">GOLD</a></li>
+
      </ul>
+
  </li>
+
  <li><a href="https://2018.igem.org/Team:Hawaii/Description">PROJECT</a>
+
      <ul>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Description">THE PROJECT</a></li>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Project_Meetings"> Project Meetings</a></li>
+
        <li><a href="#">CENTROMERE-SPECIFIC RETROTRANSPOSONS</a>
+
            <ul>
+
              <li><a href="">GAG</a></li>
+
              <li><a href="">PROTEASE</li>
+
              <li><a href="">REVERSE TRANSCRIPTASE-RNASEH</li>
+
              <li><a href="">INTEGRASE</li>
+
            </ul>
+
        </li>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Model">MODELING</a></li>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Results">RESULTS</a></li>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Part_Collection">PARTS</a></li>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/InterLab">INTERLAB STUDY</a></li>
+
      </ul>
+
  </li>
+
  <li><a href="https://2018.igem.org/Team:Hawaii/Team">TEAM</a>
+
      <ul>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Team">MEET THE TEAM</a></li>
+
<li><a href="#">RESEARCH JOURNALS</a>
+
            <ul>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/Chan">CHAN JEONG</a></li>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/Emily">EMILY YANG</li>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/Fernanda">FERNANDA HENNIG</li>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/Gina">GINA WATANABE</li>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/John">JOHN BANASIHAN</li>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/Jon">JON TELLO</li>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/Ryan">RYAN SHONTELL</li>
+
              <li><a href="https://2018.igem.org/Team:Hawaii/Shelby">SHELBY ROBERSON</li>
+
            </ul>
+
        <li><a href="https://2018.igem.org/Team:Hawaii/Attributions">ATTRIBUTIONS</a></li>
+
      </ul>
+
  </li>
+
  <li><a href='https://2018.igem.org/Team:Hawaii'>HOME</a></li>
+
</ul>
+
</nav>
+
 
</header>
 
</header>
 
<!-- END HEADER -->
 
<!-- END HEADER -->

Revision as of 04:08, 21 June 2018