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)"}); | ||
console.log('offset: '+offset.top); | console.log('offset: '+offset.top); | ||
− | if ($window.scrollTop() > | + | if ($window.scrollTop() > $pageheight - 430) { |
$blob.stop().animate({ | $blob.stop().animate({ | ||
− | bottom: $pageheight - $window.scrollTop() + topPadding | + | bottom: $pageheight - $window.scrollTop() + topPadding + 430 |
}); | }); | ||
} | } |
Revision as of 21:03, 6 September 2015