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 > 20) { | |
$("#navigation").css("height",scrollPos); | $("#navigation").css("height",scrollPos); | ||
- | + | } | |
}); | }); | ||
</script> | </script> |
Revision as of 21:40, 6 September 2011
{{{1}}}