Template:Team:Sheffield/NavigationBar
From 2014.igem.org
(Difference between revisions)
Line 164: | Line 164: | ||
</style> | </style> | ||
<script> | <script> | ||
- | $(window) | + | $(window).scroll(function() { |
if ($(window).scrollTop() > 0) { | if ($(window).scrollTop() > 0) { | ||
$("#navigationBar").addClass("scrolling"); | $("#navigationBar").addClass("scrolling"); |
Revision as of 10:21, 14 September 2014