How to stop SWF inside of a jQuery UI tab from reloading
Posted
by Raul Agrait
on Stack Overflow
See other posts from Stack Overflow
or by Raul Agrait
Published on 2010-04-09T21:14:37Z
Indexed on
2010/04/10
3:03 UTC
Read the original article
Hit count: 508
I have a SWF movie inside of a jQuery UI tab, and the problem I'm having is that the SWF gets reloaded everytime I click away from the tab, onto another tab, and then click back. I can inspect the DOM and see that the div containing the SWF is still in the DOM when I click away, so I don't know why this it seems to reload it when I click back to the tab.
I added the following CSS rules to try to prevent the display being set to: none, but the Flash movie is still reloading:
.ui-tabs .ui-tabs-hide {
display: block !important;
position: absolute;
left: -10000px;
}
© Stack Overflow or respective owner