I'm looking for something between display: none
and visibility: hidden
. In other words, I want for div element (with flash content) to be loaded, but not displayed at all.
To make it more clear: there is a flash object embedded through swfobject.embedSWF
in the div. When I change display
(via javascript) from block
to none
and then from none
to block
, it works different in different browsers:
in IE it works like I want it to work - I change the display to block
and the object is still there, but in Chrome and FF it is loaded again, like for the first time when swfobject.embedSWF
was called.