微信浏览器如何禁止iPhone手机上下滑动网页
代码:
/*去掉iphone手机滑动默认行为*/ $(‘body‘).on(‘touchmove‘, function (event) { event.preventDefault(); });
文章来自:http://www.cnblogs.com/davidgu/p/3938877.html
代码:
/*去掉iphone手机滑动默认行为*/ $(‘body‘).on(‘touchmove‘, function (event) { event.preventDefault(); });