0
我想在HTML上禁用鼠标滚轮,并从此规则中排除特定的元素。在HTML上禁用鼠标滚轮,并使用jquery排除特定的div
我使用下面的代码:
$('html').bind("mousewheel, touchmove", function(e) {
e.stopPropagation();
return false;
});
$('.exclude').unbind("mousewheel, touchmove");
鼠标滚轮不会在exclude
元素上工作,要么。