Difference between revisions of "Template:Freiburg/wiki content start"
Line 16: | Line 16: | ||
$(window).scroll(function(event) { | $(window).scroll(function(event) { | ||
− | console.log($(this).scrollTop()+' doc_heighttop:'+$doc_heighttop); | + | console.log($(this).scrollTop()+' doc_heighttop:'+$doc_heighttop+' top:'+$top); |
// y is scroll progress (distance from top) | // y is scroll progress (distance from top) |
Revision as of 08:02, 8 September 2015