Difference between revisions of "Template:Freiburg/wiki content start"
Line 41: | Line 41: | ||
if (y < 60) { | if (y < 60) { | ||
console.log('lower'); | console.log('lower'); | ||
− | $blob.css({"top": y }); // = 30 px under bottom | + | $blob.css({"top": y , "transform": "translateX(-30px)"}); // = 30 px under bottom |
− | + | ||
} | } | ||
Line 49: | Line 48: | ||
if (y <($pageheight-100)) { | if (y <($pageheight-100)) { | ||
console.log('middle'); | console.log('middle'); | ||
− | $blob.css({"top": y }); // = 30 px from bottom | + | $blob.css({"top": y , "transform": "translateX(30px)"}); // = 30 px from bottom |
− | + | ||
} | } | ||
} | } |
Revision as of 06:29, 8 September 2015