Team:SDU-Denmark/Media/photogallery
From 2012.igem.org
(Difference between revisions)
Line 64: | Line 64: | ||
if ($window1.scrollTop() > offset.top + 250 ) { | if ($window1.scrollTop() > offset.top + 250 ) { | ||
$sidebar.stop().animate({ | $sidebar.stop().animate({ | ||
- | marginTop: $window1.scrollTop() - (offset.top + topPadding + | + | marginTop: $window1.scrollTop() - (offset.top + topPadding + 300 ) |
}); | }); | ||
} else { | } else { |
Revision as of 11:05, 31 August 2012