Difference between revisions of "Template:Freiburg/wiki content start"
Line 18: | Line 18: | ||
// y is scroll progress (distance from top) | // y is scroll progress (distance from top) | ||
− | // top is | + | // top is about bottomline of window |
var y = $(this).scrollTop(), | var y = $(this).scrollTop(), | ||
top = $(this).scrollTop() + $window.height() -100; | top = $(this).scrollTop() + $window.height() -100; | ||
Line 33: | Line 33: | ||
//console.log('right in'); | //console.log('right in'); | ||
$blob.css({"transform": "translateX(0)"}); // = 100 px outside | $blob.css({"transform": "translateX(0)"}); // = 100 px outside | ||
+ | $blob.delay(500).css({"display":"none"}); | ||
} | } | ||
Revision as of 16:09, 10 September 2015