Difference between revisions of "Template:Freiburg/wiki content start"
Line 39: | Line 39: | ||
$blob.css({"transform":"translate(-150px, 0)"}); | $blob.css({"transform":"translate(-150px, 0)"}); | ||
if ($window.scrollTop() > $pageheight - 430) { | if ($window.scrollTop() > $pageheight - 430) { | ||
− | $blob. | + | $blob.stop().animate({ |
− | + | bottom: $window.scrollTop() - $pageheight + 430 + topPadding | |
}); | }); | ||
} | } | ||
else { | else { | ||
− | $blob. | + | $blob.stop().animate({ |
− | + | bottom: 30 | |
}); | }); | ||
} | } |
Revision as of 21:14, 6 September 2015