Line 194: | Line 194: | ||
<i class="fa fa-bars"></i> | <i class="fa fa-bars"></i> | ||
</a> | </a> | ||
− | + | <a href="https://2017.igem.org/Team:Northwestern#home" class="w3-bar-item w3-button w3-hide-small w3-left nav-link">HOME</a> | |
− | <a href="https://2017.igem.org/Team:Northwestern# | + | <a href="https://2017.igem.org/Team:Northwestern/project" class="w3-bar-item w3-button w3-hide-small w3-left nav-link"> Project </a> |
− | <a href="https://2017.igem.org/Team:Northwestern | + | |
− | + | ||
<a href="https://2017.igem.org/Team:Northwestern#lab" class="w3-bar-item w3-button w3-hide-small w3-left nav-link"> Lab </a> | <a href="https://2017.igem.org/Team:Northwestern#lab" class="w3-bar-item w3-button w3-hide-small w3-left nav-link"> Lab </a> | ||
+ | <a href="https://2017.igem.org/Team:Northwestern#parts" class= "w3-bar-item w3-button w3-hide-small w3-left nav-link"> Parts </a> | ||
+ | <a href="https://2017.igem.org/Team:Northwestern#humanpractices" class="w3-bar-item w3-button w3-hide-small w3-left nav-link"> Human Practices </a> | ||
<a href="https://2017.igem.org/Team:Northwestern#team" class="w3-bar-item w3-button w3-hide-small w3-left nav-link"> Team </a> | <a href="https://2017.igem.org/Team:Northwestern#team" class="w3-bar-item w3-button w3-hide-small w3-left nav-link"> Team </a> | ||
− | <a href="https://2017.igem.org/Team:Northwestern | + | <a href="https://2017.igem.org/Team:Northwestern#contact" class= "w3-bar-item w3-button w3-hide-small w3-left nav-link"> Contact </a> |
− | + | ||
</div> | </div> | ||
Line 217: | Line 217: | ||
</div> | </div> | ||
+ | <script> | ||
+ | window.onscroll = function() {myFunction()}; | ||
+ | function myFunction() { | ||
+ | var navbar = document.getElementById("myNavbar"); | ||
+ | if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) { | ||
+ | navbar.className = "w3-bar" + " w3-card-2" + " w3-animate-top" + " w3-white"; | ||
+ | } else { | ||
+ | navbar.className = navbar.className.replace(" w3-card-2 w3-animate-top w3-white", ""); | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 18:44, 13 July 2017