`

页面到达底部时候的自动刷新(续,苹果浏览器)

阅读更多
浏览器兼容性问题。
 window.onscroll=function(){
		var a = $(window).height();
		var b = document.documentElement.scrollTop==0? document.body.scrollTop : document.documentElement.scrollTop;
		var c = $(document).height();
		var sid = lt_cookie_get("LTSESSIONID");
		if(reflag==0 && a+b==c){
alert("abc");
	}


不会解决,暂时用jquery去解决的
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics