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 > 100) { |
- | $("#navigation").css( | + | $("#navigation").css({'position' : 'fixed', 'top' : '0'}); |
} | } | ||
}); | }); |
Revision as of 21:44, 6 September 2011
{{{1}}}