jQuery鼠标闪烁在IE [英] jQuery Mouse Flicker in IE

查看:166
本文介绍了jQuery鼠标闪烁在IE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在IE中执行像.fadeIn,.fadeOut,.slideUp,.slideDown,.toggle等jQuery函数时,鼠标总是闪烁,沙漏会快速闪烁,并在光标旁边看到。我尝试了不同的方法来完全隐藏鼠标,而动画是没有效果,加上我不想在大多数情况下反正。

When I execute a jQuery function like .fadeIn, .fadeOut, .slideUp, .slideDown, .toggle, etc. in IE the mouse always flickers and the hourglass quickly flickers in and out of view next to the cursor. I've tried different methods of hiding the mouse entirely while the animation is going on to no avail, plus I don't want that in most cases anyways.

有没有其他解决方案来解决这个问题?

Does anyone have another solution to fix this?

推荐答案

你正在做任何具有CSS定义的背景图像的动画,IE将这样做。如果你可以用另一种方式(< img> 标签,当IE动画时排除该元素等),它应该消除闪烁。

If you are doing animation on anything that has a CSS defined background image, IE will do this. If you can do that in another way (<img> tag, exclude that element when IE animates, etc) it should eliminate the flicker.

这篇关于jQuery鼠标闪烁在IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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