function unScroll() {
var top = $(document).scrollTop();
$(document).on('scroll.unable', function(e) {
$(document).scrollTop(top);
})
},
function reScroll() {
$(document).off('scroll.unable');
}
禁用浏览器滚动事件(不隐藏其滚动条)
最新推荐文章于 2024-08-21 03:11:17 发布