FLEX - 禁用滚动条的 mousescroll?
我正在寻找一种在滚动鼠标时禁用垂直和水平滚动条滚动的方法。
我使用鼠标滚动来放大和缩小,并且我不希望滚动条在滚动鼠标滚轮时滚动。 (但我确实需要滚动条可见)。
有办法做到这一点吗?
提前致谢!
I'm looking for a way to disable the scrolling of the vertical and horizontal scrollbars when scrolling the mouse.
I use the mouse scroll to zoom in and out, and I don't want the scrollbars to scroll while scrolling the mouse wheel..
(But I do need the scrollbars to be visible).
Any way to do this?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试下面的一个,我不确定,但它可能会起作用。
我正在修改代码,这对代码来说有点作弊,所以我不确定我是否会工作,但试试这个。
try the following one i am not sure but it might be work.
I am modifying the code its a bit of cheat with the code so i am not sure that i will work but just try this one.