(76 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | <html> | ||
+ | |||
+ | <head> | ||
+ | <meta charset="UTF-8"> | ||
+ | <title>nav</title> | ||
+ | <link rel="stylesheet" href="https://2018.igem.org/Template:TUST_China/css/bootstrap?action=raw&ctype=text/css"> | ||
+ | <link rel="stylesheet" type="text/css" href="https://2018.igem.org/Template:TUST_China/css/clear?action=raw&ctype=text/css"> | ||
+ | <link rel="stylesheet" href="https://2018.igem.org/Template:TUST_China/css/nav?action=raw&ctype=text/css"/> | ||
+ | <!--<link rel="stylesheet" href="css/navmain.css"/>--> | ||
+ | <!--<script src="js/jquery.min.js"></script>--> | ||
+ | </head> | ||
<body> | <body> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
− | + | ||
+ | |||
$(window).load(function() { | $(window).load(function() { | ||
$(".btn-nav").on("click tap", function() { | $(".btn-nav").on("click tap", function() { | ||
− | |||
− | + | ||
− | $(this).toggleClass(" | + | |
+ | $(".nav-main").toggleClass("tustshowNav tusthideNav").removeClass("tusthidden"); | ||
+ | $(this).toggleClass("tustanimated"); | ||
}); | }); | ||
$(window).scroll(function(event){ | $(window).scroll(function(event){ | ||
− | $(".nav | + | $(".btn-nav").removeClass("tustanimated"); |
− | $( | + | $(".nav-main").addClass("tusthideNav").removeClass("tusthidden"); |
+ | |||
}); | }); | ||
Line 25: | Line 33: | ||
</script> | </script> | ||
<style> | <style> | ||
− | + | </style> | |
− | + | <div class="nav-container" style="line-height:90%;"> | |
− | </style> | + | |
− | <div class="nav-container"> | + | |
<nav class="nav"> | <nav class="nav"> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<button class="navbar-control btn-nav" "> | <button class="navbar-control btn-nav" "> | ||
− | + | <div class="bar arrow-top-r"></div> | |
− | + | <div class="bar arrow-middle-r"></div> | |
− | + | <div class="bar arrow-bottom-r"></div> | |
</button> | </button> | ||
− | <div class="nav-main | + | <div class="nav-main tusthideNav tusthidden "> |
<li> | <li> | ||
− | <div | + | <div id="mainmenu"> |
− | <i class="iconfont-menu " >&# | + | <i class="iconfont-menu " ></i><br> |
<span>Team</span> | <span>Team</span> | ||
</div> | </div> | ||
− | <ul | + | <ul id="dropdown-menu"> |
− | <li><a href=" | + | <li><a href="https://2018.igem.org/Team:TUST_China/Team">Meet the team</a></li> |
− | <li><a href=" | + | <li><a href="https://2018.igem.org/Team:TUST_China/Attributions">Attributions</a></li> |
</ul> | </ul> | ||
</li> | </li> | ||
<li> | <li> | ||
− | + | <div id="mainmenu"> | |
− | + | <i class="iconfont-menu " ></i><br> | |
− | + | <span>Achievements</span> | |
− | + | </div> | |
+ | <ul id="dropdown-menu"> | ||
+ | <li><a href="https://2018.igem.org/Team:TUST_China/Achievements">Achievements</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:TUST_China/Demonstrate">Demonstrate</a></li> | ||
+ | </ul> | ||
− | + | </li> | |
<li> | <li> | ||
− | + | <div id="mainmenu"><a href="https://2018.igem.org/Team:TUST_China/Model"> | |
− | + | <i class="iconfont-menu " ></i><br> | |
− | + | <span>Model</span> | |
− | + | </a></div> | |
− | + | ||
+ | </li> | ||
<li> | <li> | ||
− | <div | + | <div id="mainmenu"> |
− | <i class="iconfont-menu " >&# | + | <i class="iconfont-menu " ></i><br> |
<span>LAB</span> | <span>LAB</span> | ||
</div> | </div> | ||
− | <ul | + | <ul id="dropdown-menu"> |
− | + | ||
− | <li class="second-nav">Parts | + | <li class="second-nav" id="parts" style="height: 55px;"><a href="https://2018.igem.org/Team:TUST_China/Parts">Parts |
− | < | + | <i class="iconfont-menu " ></i></a> |
<ul> | <ul> | ||
− | <li><a href=" | + | |
− | <li><a href=" | + | <li style="padding: 10px 0px;"><a href="https://2018.igem.org/Team:TUST_China/ Parts">Parts</a></li> |
− | <li><a href="#"> | + | <li><a href="https://2018.igem.org/Team:TUST_China/Improve">Improving Parts</a></li> |
+ | |||
+ | </ul> | ||
+ | </li> | ||
+ | |||
+ | <li class="second-nav" id="Experiments" style="height: 55px;">Experiments | ||
+ | <i class="iconfont-menu " ></i> | ||
+ | <ul> | ||
+ | <li ><a href="https://2018.igem.org/Team:TUST_China/InterLab">Interlab Study</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:TUST_China/Verification">Verification</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:TUST_China/HPLC">HPLC</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li class="second-nav" id="notebook" style="height: 55px;">Notebook | ||
+ | <i class="iconfont-menu " ></i> | ||
+ | <ul> | ||
+ | <li><a href="https://2018.igem.org/Team:TUST_China/lab_journal">LAB Journal</a></li> | ||
+ | <li><a href="https://2018.igem.org/Team:TUST_China/Protocol">Protocol</a></li> | ||
+ | |||
</ul> | </ul> | ||
</li> | </li> | ||
− | <li><a href=" | + | <li><a href="https://2018.igem.org/Team:TUST_China/Safety">Safety</a></li> |
− | + | ||
− | + | ||
</ul> | </ul> | ||
</li> | </li> | ||
<li> | <li> | ||
− | <div | + | <div id="mainmenu"> |
− | + | <i class="iconfont-menu" ></i><br> | |
<span>Human Practice</span> | <span>Human Practice</span> | ||
</div> | </div> | ||
− | + | ||
− | <li><a href=" | + | <ul id="dropdown-menu"> |
− | + | ||
− | <li><a href=" | + | |
− | + | <li><a href="https://2018.igem.org/Team:TUST_China/Human_Practices">Human Practice</a></li> | |
− | <li><a href=" | + | <li><a href="https://2018.igem.org/Team:TUST_China/Public Engagement">Public Engagement</a></li> |
− | + | <li><a href="https://2018.igem.org/Team:TUST_China/Collaborations">Collaboration</a></li> | |
+ | |||
</ul> | </ul> | ||
− | + | </li> | |
<li > | <li > | ||
− | <div | + | <div id="mainmenu"> |
<i class="iconfont-menu " ></i><br> | <i class="iconfont-menu " ></i><br> | ||
<span>Project</span> | <span>Project</span> | ||
</div> | </div> | ||
− | <ul | + | <ul id="dropdown-menu"> |
− | <li><a href=" | + | <li><a href="https://2018.igem.org/Team:TUST_China/Description">Description</a></li> |
− | <li class="second-nav">Design | + | <li class="second-nav" id="Design" style="height: 55px;">Design |
− | < | + | <i class="iconfont-menu " ></i> |
<ul> | <ul> | ||
− | <li | + | <li ><a href="https://2018.igem.org/Team:TUST_China/Detection">Detection</a></li> |
− | <li><a href=" | + | <li><a href="https://2018.igem.org/Team:TUST_China/Degradation">Degradation</a></li> |
</ul></li> | </ul></li> | ||
− | <li><a href=" | + | <li><a href="https://2018.igem.org/Team:TUST_China/Results">Results</a></li> |
</ul> | </ul> | ||
Line 119: | Line 144: | ||
− | + | </ul> | |
− | + | <div id="navbar-header"> | |
− | + | <a href="https://2018.igem.org/Team:TUST_China" class="con"> | |
− | + | ||
+ | <img src="https://static.igem.org/mediawiki/2018/f/fc/T--TUST_China--logo.png" /> | ||
+ | <span>Home</span> | ||
+ | </div> | ||
</a> | </a> | ||
</div> | </div> | ||
− | + | </div> | |
− | + | </nav> | |
</div> | </div> | ||
− | </body> | + | </body></html> |
− | </html> | + |
Latest revision as of 22:08, 17 October 2018