Line 36: | Line 36: | ||
.dropdown-menu{ | .dropdown-menu{ | ||
margin-top: -2px; | margin-top: -2px; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
#top_title{ display:none; } | #top_title{ display:none; } | ||
Line 69: | Line 54: | ||
// 若文档高度小于窗口高度,赞助框位于页面最底部 | // 若文档高度小于窗口高度,赞助框位于页面最底部 | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
// 滚动渐隐 | // 滚动渐隐 | ||
$(window).scroll(function(){ | $(window).scroll(function(){ | ||
Line 82: | Line 60: | ||
else | else | ||
$("#navigator").removeClass("trans").addClass("bg-dark"); | $("#navigator").removeClass("trans").addClass("bg-dark"); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}); | }); | ||
}); | }); | ||
Line 152: | Line 105: | ||
<a class="nav-link" href="/Team:CSU_CHINA/Safety">SAFETY</a> | <a class="nav-link" href="/Team:CSU_CHINA/Safety">SAFETY</a> | ||
</li> | </li> | ||
− | <li class="nav-item"> | + | <li class="nav-item dropdown"> |
− | + | <a class="nav-link dropdown-toggle" href="#" id="navbar_LAB" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">LAB</a> | |
+ | <div class="dropdown-menu bg-light" aria-labelledby="navbarDropdown"> | ||
+ | <a class="dropdown-item" href="/Team:CSU_CHINA/LabTask">LABTASK</a> | ||
+ | <a class="dropdown-item" href="/Team:CSU_CHINA/Notebook">NOTEBOOK</a> | ||
+ | <a class="dropdown-item" href="/Team:CSU_CHINA/Protocols">POROYOCOLS</a> | ||
+ | </div> | ||
</li> | </li> | ||
<li class="nav-item dropdown"> | <li class="nav-item dropdown"> | ||
Line 169: | Line 127: | ||
</div> | </div> | ||
</nav> | </nav> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 05:49, 21 October 2019