摘要: 规定用户能否以及如何操作页面上的指定区域 注意:这是IE11的属性,在IE10应使用-ms-touch-action,IE10之前的浏览器不支持 语法 touch-acion: auto | none | [ [ [ pan-x || pan-y || pinch-zoom ? ] | manipu 阅读全文
posted @ 2018-07-22 11:33 Wendy&squirrel 阅读(608) 评论(0) 推荐(0)
摘要: jQuery: $(window).scroll(function(){ do sth...})保存位置: 获取:var top = $(window).scrollTop() 保存:sessionStorage.setItem("TOP",top);还原位置: 取出:var top = sessi 阅读全文
posted @ 2018-07-10 14:19 Wendy&squirrel 阅读(113) 评论(0) 推荐(0)