搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Why does firefox reload flash objects when the css display is changed?

  • 1 回覆
  • 30 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

Hi, I have a flash object in a DIV on a web page. When the CSS display property is changed, generally to hide it, the Flash object is reloaded.

Is there anything that can be done to keep this from happening, other than using the css visibility property, which causes other problems.

This problem does not occur in IE...

If this is not the right place to ask this question please point me to the right place.

Thanks for any help, Pat

Hi, I have a flash object in a DIV on a web page. When the CSS display property is changed, generally to hide it, the Flash object is reloaded. Is there anything that can be done to keep this from happening, other than using the css visibility property, which causes other problems. This problem does not occur in IE... If this is not the right place to ask this question please point me to the right place. Thanks for any help, Pat

所有回覆 (1)

more options

The Flash object is reloaded if you use {display: none}
If you use {visibility: hidden} then Firefox shouldn't reload the Flash object.


A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25