jQuery的鼠标移动不稳定的动作和跳跃的结果在Firefox [英] jQuery mousemove erratic movements and jumpy results in Firefox

查看:164
本文介绍了jQuery的鼠标移动不稳定的动作和跳跃的结果在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆