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.css({ |
− | + | "translateY": $window.scrollTop() - $pageheight + 430 + topPadding | |
}); | }); | ||
} | } | ||
else { | else { | ||
− | $blob. | + | $blob.css({ |
− | + | "translateY": "0" | |
}); | }); | ||
} | } |
Revision as of 21:13, 6 September 2015