Team:DTU-Denmark/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
Pdworzynski (Talk | contribs) |
|||
Line 30: | Line 30: | ||
$(window).scroll(function () { | $(window).scroll(function () { | ||
var scrollPos = $(window).scrollTop(); | var scrollPos = $(window).scrollTop(); | ||
- | if (scrollPos > | + | if (scrollPos > 125) { <!-- was 110 -jakob, we need to remeasure the heigth of our top banner --> |
$(".navigation").addClass("stickToTop"); | $(".navigation").addClass("stickToTop"); | ||
} else { | } else { |
Revision as of 04:57, 4 October 2013