重粒子的运行轨迹

Compiling ...
baryon.cpp
baryon.cpp(1) : warning C0000: all glory is fleeing

导航

jquery监听滚动条

	$(".lx").scroll(function(){
			 var $this =$(this),  
	         viewH =$(this).height(),//可见高度  
	         contentH =$(this).get(0).scrollHeight,//内容高度  
	         scrollTop =$(this).scrollTop();//滚动高度  
	        if(scrollTop/(contentH -viewH)>=1){ //到达底部时,加载新内容  
	        	处理业务逻辑
	        	     }  
		});

posted on 2018-03-05 14:40  重粒子  阅读(149)  评论(0编辑  收藏  举报