标签:
$(document).scroll(function(){ var dHeight = $(document).height(); var wHeight = $(window).height(); var scrollTop = $(document).scrollTop(); if( dHeight-wHeight <= scrollTop){ alert("到底了"); } })
is good!
标签:
原文地址:http://www.cnblogs.com/leisir/p/4456346.html