Team:DTU-Denmark/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
Line 51: | Line 51: | ||
if(scroll_pos_above_menubar){ | if(scroll_pos_above_menubar){ | ||
- | $(".navigation").offset({top: $(".whitebox.article").offset().top }); | + | $(".navigation").offset({top: $(".whitebox.article").offset().top + $(".navigation")[0].height() }); |
} else { | } else { | ||
$(".navigation").offset({top: scrollPos}); | $(".navigation").offset({top: scrollPos}); |
Revision as of 19:22, 4 October 2013