ios prevent dblclick(tap) page scroll
html add:("minimal-ui" is very important)

<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,usker-scalable=no,minimal-ui">

eg: 以lightbox_me.js举例说明

var opt = {
centered: true,
zIndex: 99999,
overlaySpeed: 1,
lightboxSpeed: 1,
preventScroll: true,
showOverlay: true,
onClose: function(){
$('.js_lb_overlay').remove();
$('section').unbind('touchmove');//$('section') is page's element
},
onLoad: function(){
$('section').on('touchmove', function (e) {
e.preventDefault();
});
$('.js_lb_overlay').on('touchstart', function (e) {// touchstart!!!
e.preventDefault();
});
},
closeSelector:'.js_close',
overlayCSS:{background: '#000000', opacity:0.7}
};

  

最新文章

  1. 几种jQuery 实现无限滚动的插件
  2. 通过开户银行账号查询客商名称 sql
  3. SQL——查询考试
  4. MFC 相关文件夹、文件操作
  5. AngularJS自定义指令(Directives)在IE8下的一个坑
  6. ubuntu将默认中文改成英文
  7. ASP.NET 之 检测到在集成的托管管道模式下不适用的ASP.NET设置
  8. 安卓开发错误:The type android.support.v4.app.TaskStackBuilder$SupportParentable cannot be resolved.
  9. 【VS2015正式版下载】Visual Studio 2015 正式版开放下载 Visual Studio 2015 神key
  10. 百度复制SQL语句
  11. Handler.removeMessages的作用,有时候为什么一定要先remove一下呢
  12. Android Studio 或 IntelliJ IDEA获取数字签名的方法
  13. Hadoop(十一)Hadoop IO之序列化与比较功能实现详解
  14. 服务器Windows 登录 出现401 错误
  15. 如何解决分配到Autoconfiguration IPV4 地址
  16. 【微信小程序——开发步骤1】
  17. POJ 3278 抓奶牛(BFS入门题)
  18. CentOS7+Nginx配置Tomcat负载均衡环境
  19. gitlab的md文件内使用锚点
  20. 解决jetty runner锁定js

热门文章

  1. (转载)不能启动虚拟机 Unable to open kernel device &quot;\\.\Global\vmx86
  2. Go语言的学习
  3. java基础(八) 面向对象(三)
  4. UIColor的使用
  5. 《University Calculus》-chape10-向量和空间几何学-叉积
  6. codeforce 230D Dijsktra
  7. hdu1026 Ignatius and the Princess I (优先队列 BFS)
  8. jsp页面写入中文到mysql时出现了乱码(转)
  9. ArrayList and LinkedList
  10. Cocos2d-x 3.0 红孩儿私家必修 - 第二章 cpp-empty-test