|
|
Line 76: |
Line 76: |
| .dropdown-menu>li>a { | | .dropdown-menu>li>a { |
| font-weight: 600; | | font-weight: 600; |
| + | } |
| + | .third-level-list { |
| + | top: -10px; |
| + | left: 150px; |
| } | | } |
| /*carousel*/ | | /*carousel*/ |
Line 262: |
Line 266: |
| <script type="text/javascript"> | | <script type="text/javascript"> |
| $(document).ready(function() { | | $(document).ready(function() { |
| + | // wechat qr code |
| var canHide= true; | | var canHide= true; |
| $('#wechatModal').on('show.bs.modal', function (e) { | | $('#wechatModal').on('show.bs.modal', function (e) { |
Line 280: |
Line 285: |
| $(".modal").mousemove(function() { | | $(".modal").mousemove(function() { |
| canHide = true; | | canHide = true; |
| + | }); |
| + | $(".third-level-list").css("left", "150px"); |
| + | // third level menu on nav |
| + | $(".third-level-menu").mouseenter(function() { |
| + | console.log("mouse in"); |
| + | $(this).addClass("open"); |
| + | |
| + | }); |
| + | $(".third-level-menu").mouseleave(function() { |
| + | console.log("mouse in"); |
| + | $(this).removeClass("open"); |
| + | }); |
| + | $(".dropdown").mouseenter(function() { |
| + | $(this).addClass("open"); |
| + | }); |
| + | $(".dropdown").mouseleave(function() { |
| + | $(this).removeClass("open"); |
| }); | | }); |
| }); | | }); |
Line 305: |
Line 327: |
| <ul class="nav navbar-nav navbar-right"> | | <ul class="nav navbar-nav navbar-right"> |
| <li class="active"><a href="https://2016.igem.org/Team:SYSU-MEDICINE">HOME</a></li> | | <li class="active"><a href="https://2016.igem.org/Team:SYSU-MEDICINE">HOME</a></li> |
− | <li class="dropdown">
| |
− | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">TEAM<span class="caret"></span></a>
| |
− | <ul class="dropdown-menu">
| |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Team">Team</a></li>
| |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Collaborations">★ Collaborations</a></li>
| |
− | </ul>
| |
− | </li>
| |
| <li class="dropdown"> | | <li class="dropdown"> |
| <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">PROJECT<span class="caret"></span></a> | | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">PROJECT<span class="caret"></span></a> |
| <ul class="dropdown-menu"> | | <ul class="dropdown-menu"> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Description">★ Description</a></li> | + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Description">Description</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Design">★ Design</a></li>
| + | |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Experiments">Experiments</a></li>
| + | |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Proof">★ Proof of Concept</a></li>
| + | |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Demonstrate">★ Demonstrate</a></li>
| + | |
| <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Results">Results</a></li> | | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Results">Results</a></li> |
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Protocol">Protocol</a></li> |
| <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Notebook">Notebook</a></li> | | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Notebook">Notebook</a></li> |
| + | <li class="dropdown third-level-menu"> |
| + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">For Judgement <span class="caret"></a> |
| + | <ul class="third-level-list dropdown-menu"> |
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Proof">Proof of Concept</a></li> |
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Demonstrate">Demonstrate</a></li> |
| + | </ul> |
| + | </li> |
| </ul> | | </ul> |
| </li> | | </li> |
| <li class="dropdown"> | | <li class="dropdown"> |
− | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">PARTS<span class="caret"></span></a> | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">HUMAN PRACTICES<span class="caret"></span></a> |
| <ul class="dropdown-menu"> | | <ul class="dropdown-menu"> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Parts">Parts</a></li> | + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Our_Story">Our Story</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Basic_Part">★ Basic Parts</a></li> | + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Interview">Interview</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Composite_Part">★ Composite Parts</a></li> | + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Ethics">Ethics</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Part_Collection">★ Part Collection</a></li> | + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Legislation">Legislation</a></li> |
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Products">Products</a></li> |
| + | <li class="dropdown third-level-menu"> |
| + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">For Judgement <span class="caret"></a> |
| + | <ul class="third-level-list dropdown-menu"> |
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/HP/Silver">Silver</a></li> |
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/HP/Gold">Gold</a></li> |
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Integrated_Practices">Integrated Practices</a></li> |
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Engagement">Engagement</a></li> |
| + | </ul> |
| + | </li> |
| </ul> | | </ul> |
| </li> | | </li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Safety">SAFETY</a></li> | + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Modeling">Modeling</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Attributions">★ ATTRIBUTIONS</a></li>
| + | |
| <li class="dropdown"> | | <li class="dropdown"> |
− | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">HUMAN PRACTICES<span class="caret"></span></a> | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">TEAM<span class="caret"></span></a> |
| <ul class="dropdown-menu"> | | <ul class="dropdown-menu"> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Human_Practices">Human Practices</a></li> | + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Team">Team</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/HP/Silver">★ Silver</a></li>
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Attributions">ATTRIBUTIONS</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/HP/Gold">★ Gold</a></li>
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Collaborations">Collaborations</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Integrated_Practices">★ Integrated Practices</a></li> | + | |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Engagement">★ Engagement</a></li> | + | |
| </ul> | | </ul> |
| </li> | | </li> |
| + | |
| <li class="dropdown"> | | <li class="dropdown"> |
− | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">AWARDS<span class="caret"></span></a> | + | <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">PARTS<span class="caret"></span></a> |
| <ul class="dropdown-menu"> | | <ul class="dropdown-menu"> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Entrepreneurship">★ Entrepreneurship</a></li> | + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Parts">Parts</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Hardware">★ Hardware</a></li> | + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Basic_Part">Basic Parts</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Software">★ Software</a></li> | + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Composite_Part">Composite Parts</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Measurement">★ Measurement</a></li> | + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Part_Collection">Part Collection</a></li> |
− | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Model">★ Model</a></li>
| + | |
| </ul> | | </ul> |
| </li> | | </li> |
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Safety">SAFETY</a></li> |
| + | <li><a href="https://2016.igem.org/Team:SYSU-MEDICINE/Judging">JUDGING</a></li> |
| </ul> | | </ul> |
| </div><!-- /.navbar-collapse --> | | </div><!-- /.navbar-collapse --> |