Difference between revisions of "Template:Freiburg/wiki content start"
Line 28: | Line 28: | ||
var $blob = $("#upwards_blob"), | var $blob = $("#upwards_blob"), | ||
$window = $(window), | $window = $(window), | ||
− | $pageheight = $(document).height()-$window.height() | + | $pageheight = $(document).height()-$window.height(); |
console.log('pageheight:'+$pageheight); | console.log('pageheight:'+$pageheight); | ||
Line 48: | Line 48: | ||
if (y <($pageheight-100)) { | if (y <($pageheight-100)) { | ||
console.log('middle'); | console.log('middle'); | ||
− | $blob.css({"top": y + $(this).height() - | + | $blob.css({"top": y + $(this).height() - 30, "right": 30}); // = 30 px from bottom |
} | } | ||
} | } |
Revision as of 06:12, 8 September 2015