Team:DTU-Denmark/Templates/Standard page begin
From 2011.igem.org
(Difference between revisions)
Line 17: | Line 17: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(window).scroll(function () { | $(window).scroll(function () { | ||
- | $("#navigation").css("height", | + | var scrollPos = $(window).scrollTop(); |
+ | |||
+ | $("#navigation").css("height",scrollPos); | ||
+ | |||
}); | }); | ||
</script> | </script> |
Revision as of 21:39, 6 September 2011
{{{1}}}