Team:UChicago/Templates/Standard header
From 2013.igem.org
(Difference between revisions)
m |
|||
Line 29: | Line 29: | ||
$(window).scroll(function () { | $(window).scroll(function () { | ||
var scrollPos = $(window).scrollTop(); | var scrollPos = $(window).scrollTop(); | ||
- | if (scrollPos > | + | if (scrollPos > 710) { |
$(".navigation").addClass("stickToTop"); | $(".navigation").addClass("stickToTop"); | ||
} else { | } else { |
Revision as of 19:23, 12 September 2013