Team:DTU-Denmark/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
Line 50: | Line 50: | ||
if(scroll_pos_above_start_of_article){ | if(scroll_pos_above_start_of_article){ | ||
- | $(".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 18:55, 4 October 2013