Difference between revisions of "Template:Freiburg/wiki content start"
Line 41: | Line 41: | ||
if (y < 0.05*$pageheight) { | if (y < 0.05*$pageheight) { | ||
console.log('lower'); | console.log('lower'); | ||
− | $blob.css({"top": y | + | $blob.css({"top": y +30, "right": 30}); // = 30 px under bottom |
} | } | ||
Line 48: | Line 48: | ||
if ($window.scrollTop() <($pageheight-100)) { | if ($window.scrollTop() <($pageheight-100)) { | ||
console.log('middle'); | console.log('middle'); | ||
− | $blob.css({"top": y | + | $blob.css({"top": y - 30, "right": 30}); // = 30 px from bottom |
} | } | ||
} | } |
Revision as of 05:42, 8 September 2015