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