标签:
var stop=true;
$(window).scroll(function(){
totalheight = parseFloat($(window).height()) + parseFloat($(window).scrollTop());
if($(document).height() <= totalheight){
if(stop==true){
stop=false;
//下滑到底后要执行的代码
stop=true;
}
}
});
标签:
原文地址:http://www.cnblogs.com/nullman/p/5953816.html