(16 intermediate revisions by 2 users not shown) | |||
Line 221: | Line 221: | ||
<body> | <body> | ||
− | + | <div style="height: 56px;background-color: black;opacity: 0.7;padding: 0 1rem;position:relative;z-index:1000;"> | |
− | + | <a class="navbar-brand" href="https://2018.igem.org/Team:SZU-China"> | |
− | + | <img src="https://static.igem.org/mediawiki/2018/1/15/T--SZU-China--logo.png" height="50" alt="Route 66 in navbar"> | |
− | + | <span class="d-inline-block ml-2">SZU-China</span> | |
− | + | </a> | |
− | + | <div style="height: 56px;width: 60%;float: right;text-align: right;padding-top: 14px"> | |
− | + | <a class="nav-1-item" style="color: white;" href="https://2018.igem.org/Team:SZU-China/Applet">Applet</a> | |
− | + | <a class="nav-1-item father" id="nav1_5" data-id="5" href="https://2018.igem.org/Team:SZU-China/Human_Practices">Human Practices</a> | |
− | + | <a class="nav-1-item father" id="nav1_4" data-id="4">Experiment</a> | |
− | + | <a class="nav-1-item father" id="nav1_3" data-id="3">Project</a> | |
− | + | <a class="nav-1-item father" id="nav1_2" data-id="2">Team</a> | |
− | + | <a class="nav-1-item father" id="nav1_1" data-id="1">Awards</a> | |
− | + | </div> | |
− | + | <div class="sub_menu son" id="sub1" style="display: none;left: 21%;"> | |
− | </div> | + | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Achievement">Achievement</a></div> |
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Applied_Design">Applied Design</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Human_Practices">Human Practices</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Public_Engagement">Public Engagement</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Model">Model</a></div> | ||
</div> | </div> | ||
− | <div class=" | + | <div class="sub_menu son" id="sub2" style="display: none;left: 28.6%"> |
− | <div | + | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Team">Team Members</a></div> |
− | + | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Collaborations">Collaborations</a></div> | |
− | + | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Attributions">Attributions</a></div> | |
− | + | </div> | |
− | + | <div class="sub_menu son" id="sub3" style="display: none;left: 35.6%"> | |
− | + | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Description">Description</a></div> | |
− | + | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Demonstrate">Demonstrate</a></div> | |
− | </div> | + | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Model">Model</a></div> |
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Improve">Improve</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Parts">Parts</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Safety">Safety</a></div> | ||
+ | </div> | ||
+ | <div class="sub_menu son" id="sub4" style="display: none;left: 44.3%"> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Design">Design</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Procedure">Procedure</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Results">Results</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/InterLab">InterLab</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Notebook">Notebook</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Protocol">Protocol</a></div> | ||
</div> | </div> | ||
+ | <div class="sub_menu son" id="sub5" style="display: none;left: 44.3%"> | ||
− | <div class="sub_menu" id=" | + | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Human_Practices">Integrated HP</a></div> |
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Applet">Applet</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/MeetUp">Meetup</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Investigation">Investigation</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Simulation">Simulation</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Public_Engagement">Education & Public engagement</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Prospect">Prospect</a></div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="header-nav" style="text-align: center;display: none"> | ||
+ | <div style="width: 100%;height: 45px;text-align: center;" id="header_list"> | ||
+ | <a class="nav-item1" id="nav0" style="color: white;" href="https://2018.igem.org/Team:SZU-China">Home</a> | ||
+ | <a class="nav-item1 nav-father" style="display:inline-block;height:45px" id="nav1" data-id="1">Awards</a> | ||
+ | <a class="nav-item1 nav-father" style="display:inline-block;height:45px" id="nav2" data-id="2">Team</a> | ||
+ | <a class="nav-item1 nav-father" style="display:inline-block;height:45px" id="nav3" data-id="3">Project</a> | ||
+ | <a class="nav-item1 nav-father" style="display:inline-block;height:45px" id="nav4" data-id="4">Experiment</a> | ||
+ | <a class="nav-item1 nav-father" style="display:inline-block;height:45px;color: white;" id="nav5" data-id="5" href="https://2018.igem.org/Team:SZU-China/Human_Practices">Human Practices</a> | ||
+ | <a class="nav-item1" style="color: white;" href="https://2018.igem.org/Team:SZU-China/Applet">Applet</a> | ||
+ | </div> | ||
+ | <div class="sub_menu nav_son" id="header_nav1" style="display: none;left: 21%;"> | ||
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Achievement">Achievement</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Achievement">Achievement</a></div> | ||
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Applied_Design">Applied Design</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Applied_Design">Applied Design</a></div> | ||
Line 255: | Line 290: | ||
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Model">Model</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Model">Model</a></div> | ||
</div> | </div> | ||
− | <div class="sub_menu" id=" | + | <div class="sub_menu nav_son" id="header_nav2" style="display: none;left: 28.6%"> |
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Team">Team Members</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Team">Team Members</a></div> | ||
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Collaborations">Collaborations</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Collaborations">Collaborations</a></div> | ||
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Attributions">Attributions</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Attributions">Attributions</a></div> | ||
</div> | </div> | ||
− | <div class="sub_menu" id=" | + | <div class="sub_menu nav_son" id="header_nav3" style="display: none;left: 35.6%"> |
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Description">Description</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Description">Description</a></div> | ||
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Demonstrate">Demonstrate</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Demonstrate">Demonstrate</a></div> | ||
Line 268: | Line 303: | ||
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Safety">Safety</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Safety">Safety</a></div> | ||
</div> | </div> | ||
− | <div class="sub_menu" id=" | + | <div class="sub_menu nav_son" id="header_nav4" style="display: none;left: 44.3%"> |
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Design">Design</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Design">Design</a></div> | ||
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Procedure">Procedure</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Procedure">Procedure</a></div> | ||
Line 276: | Line 311: | ||
<div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Protocol">Protocol</a></div> | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Protocol">Protocol</a></div> | ||
</div> | </div> | ||
− | < | + | <div class="sub_menu nav_son" id="header_nav5" style="display: none;left: 44.3%"> |
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Human_Practices">Integrated HP</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Applet">Applet</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/MeetUp">Meetup</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Investigation">Investigation</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Simulation">Simulation</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Public_Engagement">Education & Public engagement</a></div> | ||
+ | <div class="nav-sub-item"><a href="https://2018.igem.org/Team:SZU-China/Prospect">Prospect</a></div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <script> | ||
+ | for(i=1;i<=5;i++){ | ||
+ | $("#sub"+i).attr("style","left:" + document.getElementById("nav1_"+i).getBoundingClientRect().left+"px;display:none"); | ||
+ | } | ||
+ | $(".nav-father").hover(function(){ | ||
+ | $("#header_nav"+$(this).data("id")).show(); | ||
+ | $("#header_nav"+$(this).data("id")).attr("style","left:" + document.getElementById("nav"+$(this).data("id")).getBoundingClientRect().left+"px;"); | ||
+ | },function(){ | ||
+ | $("#header_nav"+$(this).data("id")).hide(); | ||
+ | }); | ||
+ | $(".nav_son").hover(function(){ | ||
+ | $(this).show(); | ||
+ | },function(){ | ||
+ | $(this).hide(); | ||
+ | }); | ||
+ | $(".father").hover(function(){ | ||
+ | $("#sub"+$(this).data("id")).show(); | ||
+ | },function(){ | ||
+ | $("#sub"+$(this).data("id")).hide(); | ||
+ | }); | ||
+ | $(".son").hover(function(){ | ||
+ | $(this).show(); | ||
+ | },function(){ | ||
+ | $(this).hide(); | ||
+ | }); | ||
+ | </script> | ||
<script type="text/javascript"> | <script type="text/javascript"> |
Latest revision as of 23:36, 17 October 2018