问题描述
再次出现一个jQuery,Firefox闪烁的问题。(在IE6 / 7/8,Safari中不闪烁)
我在这里上传了一个示例页面:
有两个div容器。内部的div是我藏起来的。
外层是带有样式元素的包装容器。
我发现闪烁只发生在选择框。但是那不是全部:
(我不能发布第二个超链接:与上面相同的链接;只是改变 flickering.htmlto not_flickering.html)
在这种情况下,我选择了一个较低的选项 - 正如您所看到的,在这种情况下,闪烁消失。
当总共有更少的选项时,情况也是如此。
(小于20)
我找到的唯一方法是删除选择框:
谢谢! / DIV>
溢出:隐藏;直接应用于包含div的作品。
once more a jQuery, Firefox flickering issue.(no flickering in IE6/7/8, Safari)
I uploaded an example page here:http://sithlord.bplaced.net/testing/jquery_flickering/flickering.html
There are two div containers. The inner div is the one I'm hiding.The outer one is the wraping container with the style elements.I found the flicker only occur with the selectbox. Without the SelectBox there is no flickering.
But thats not all:(I cant post a second hyperlink: its the same link as above; only change "flickering.html" to not_flickering.html)
In this case I selected a lower "option" - as you can see, the flicker disappears in this case.The same is happending, when there are less options in total.(less then about 20)
The only workaround I found is deleting the selectbox :)
Any ideas, why this is happening and how to fix it?
Thanks!
overflow:hidden; applied directly to the containing div works.
这篇关于jQuery SlideDown在Firefox中闪烁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!