(23 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
<a class="nav-link" href="/Team:XJTU-China/Design">design</a> | <a class="nav-link" href="/Team:XJTU-China/Design">design</a> | ||
</li> | </li> | ||
+ | <li class="nav-item"><a class="nav-link" | ||
+ | href="/Team:XJTU-China/Implementation">implementation</a></li> | ||
<li class="nav-item"><a class="nav-link" href="/Team:XJTU-China/Parts">parts</a> | <li class="nav-item"><a class="nav-link" href="/Team:XJTU-China/Parts">parts</a> | ||
</li> | </li> | ||
Line 38: | Line 40: | ||
aria-hidden="true"></span></a> | aria-hidden="true"></span></a> | ||
<ul class="dropdown-menu"> | <ul class="dropdown-menu"> | ||
− | <li class="nav-item"><a class="nav-link" href=" | + | <li class="nav-item"><a class="nav-link" |
− | <li class="nav-item"><a class="nav-link" href=" | + | href="/Team:XJTU-China/Engineering">engineering</a></li> |
+ | <li class="nav-item"><a class="nav-link" href="/Team:XJTU-China/Improve">improvement</a> | ||
+ | </li> | ||
+ | <li class="nav-item"><a class="nav-link" href="/Team:XJTU-China/Proof_Of_Concept" | ||
+ | style="font-size: 0.9em;">Proof | ||
+ | of Concept</a> | ||
+ | </li> | ||
+ | <li class="nav-item"><a class="nav-link" href="/Team:XJTU-China/Protocols">protocols</a> | ||
+ | </li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 47: | Line 57: | ||
aria-hidden="true"></span></a> | aria-hidden="true"></span></a> | ||
<ul class="dropdown-menu"> | <ul class="dropdown-menu"> | ||
− | <li class="nav-item"><a class="nav-link" href=" | + | <li class="nav-item"><a class="nav-link" href="/Team:XJTU-China/Model">modelling</a></li> |
− | <li class="nav-item"><a class="nav-link" href=" | + | <li class="nav-item"><a class="nav-link" href="/Team:XJTU-China/protein_model" |
+ | style="font-size: 0.9em;">protein modelling</a></li> | ||
+ | <li class="nav-item"><a class="nav-link" href="/Team:XJTU-China/Hardware">hardware</a> | ||
+ | </li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | |||
<li class="nav-item submenu dropdown"> | <li class="nav-item submenu dropdown"> | ||
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" | <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" | ||
Line 57: | Line 69: | ||
class="fa fa-caret-down" aria-hidden="true"></span></a> | class="fa fa-caret-down" aria-hidden="true"></span></a> | ||
<ul class="dropdown-menu"> | <ul class="dropdown-menu"> | ||
− | <li class="nav-item"><a class="nav-link" href=" | + | <li class="nav-item"><a class="nav-link" |
− | <li class="nav-item"><a class="nav-link" href=" | + | href="/Team:XJTU-China/Human_Practices">overview</a></li> |
+ | <li class="nav-item"><a class="nav-link" | ||
+ | href="/Team:XJTU-China/Human_Practices#inspiration">interview</a></li> | ||
+ | <li class="nav-item"><a class="nav-link" | ||
+ | href="/Team:XJTU-China/Human_Practices#point_6">visit</a></li> | ||
+ | <li class="nav-item"><a class="nav-link" | ||
+ | href="/Team:XJTU-China/Human_Practices#point_7">survey</a></li> | ||
+ | <li class="nav-item"><a class="nav-link" | ||
+ | href="/Team:XJTU-China/Communication">Communication</a> | ||
+ | </li> | ||
+ | <li class="nav-item"><a class="nav-link" href="/Team:XJTU-China/Education">Education</a> | ||
+ | </li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 67: | Line 90: | ||
<ul class="dropdown-menu"> | <ul class="dropdown-menu"> | ||
<li class="nav-item"><a class="nav-link" href="/Team:XJTU-China/Team">crew</a></li> | <li class="nav-item"><a class="nav-link" href="/Team:XJTU-China/Team">crew</a></li> | ||
− | <li class="nav-item"><a class="nav-link" href=" | + | <li class="nav-item"><a class="nav-link" |
− | <li class="nav-item"><a class="nav-link" href=" | + | href="/Team:XJTU-China/Attributions">attributions</a></li> |
− | <li class="nav-item"><a class="nav-link" href=" | + | <li class="nav-item"><a class="nav-link" |
+ | href="/Team:XJTU-China/Contribution">contribution</a></li> | ||
+ | <li class="nav-item"><a class="nav-link" | ||
+ | href="/Team:XJTU-China/Collaborations">collaboration</a></li> | ||
+ | <li class="nav-item"><a class="nav-link" | ||
+ | href="/Team:XJTU-China/Partnership">partnership</a></li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
Line 97: | Line 125: | ||
<script> | <script> | ||
window.addEventListener('scroll', () => { | window.addEventListener('scroll', () => { | ||
− | + | var h = document.getElementById('topHeader'); | |
− | + | height = h.clientHeight; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
let header = document.querySelector('header'); | let header = document.querySelector('header'); | ||
let logoHolder = document.querySelector('.logoHolder'); | let logoHolder = document.querySelector('.logoHolder'); | ||
− | let menuBtn = document.querySelector('.navbar-toggler') | + | let menuBtn = document.querySelector('.navbar-toggler'); |
header.classList.toggle('sticky', window.scrollY > height); | header.classList.toggle('sticky', window.scrollY > height); | ||
logoHolder.classList.toggle('sticky', window.scrollY > height); | logoHolder.classList.toggle('sticky', window.scrollY > height); |
Latest revision as of 20:49, 21 October 2021