Team:DTU-Denmark/Templates/Standard page begin
From 2011.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
$(window).scroll(function () { | $(window).scroll(function () { | ||
var scrollPos = $(window).scrollTop(); | var scrollPos = $(window).scrollTop(); | ||
- | if (scrollPos > | + | if (scrollPos > 200) { |
- | $("#navigation"). | + | $("#navigation").addClass("stickToTop"); |
} | } | ||
}); | }); |
Revision as of 21:48, 6 September 2011
{{{1}}}