jQuery的鼠标移动不稳定的动作和跳跃的结果在Firefox [英] jQuery mousemove erratic movements and jumpy results in Firefox
问题描述
我有以下代码:
http: //jsfiddle.net/atlchris/CC53T/
这样做需要使用jQuery UI滑块并添加悬停&预览支持。它适用于大多数浏览器,但在Firefox的Mac上,我得到了跳动的结果和不稳定的动作。
任何人都有任何建议,浏览器?
经过Chrome,Firefox和Mac版Safari的测试。
感谢另一个资源,我可以通过使用 mouseleave
事件而不是 mouseout
来解决问题。 mouselease
不会触发内部元素。
I have the following code:
http://jsfiddle.net/atlchris/CC53T/
What this does is it takes the jQuery UI slider and adds hover & preview support to it. It works great on most browsers but on Firefox for Mac, I am getting jumpy results and erratic movements.
Anyone have any suggestions on how I can make this work better across all browsers?
Tested on Chrome, Firefox, and Safari for Mac.
Thanks to another resource, I was able to solve the problem by using the mouseleave
event instead of mouseout
. The mouselease
doesn't fire on internal elements.
这篇关于jQuery的鼠标移动不稳定的动作和跳跃的结果在Firefox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!