这是可能的吗?jQuery Knob
我正在尝试禁用鼠标滚轮,但仍允许其可拖动/可调整。您可以将旋钮设置为readOnly:true,但这不会让您拖动刻度盘。有什么想法吗?
$(".dial").knob({
min: 1
max: 10
stopper: true,
readOnly: true,//if true This will Set the Knob readonly cannot click
release: function (value) {
//Do something as you release the mouse
}
});
$(".dial").bind("mousewheel", function() {
return false;
});
event.preventDefault()
了吗? - Ronni Egeriis Persson