views:

215

answers:

3

I am trying to figure out how to load the tabs the way I want. Basically when someone visits my page I want it to create 2 tabs(which I have working). Now inside of each of those tabs I have a widget that is put there through embed code (which is working fine). However, when I switch from one tab to another it is reloading the data in each tab. So say I was watching a video in one when I switch to the other one it stops the video and when I go back it restarts it. Is there any way to stop it from reloading the tabs once they are loaded? I tried setting cache to true but it didnt seem to fix it. Any help is appreciated.

+1  A: 

can you post up some of your code?

jimyshock
That's a comment, not an answer.
karim79
Im not sure why you need to see my code as it is just a basic jquery example but with an embed inside of where the tab is. For example:$("#tabs").tabs();Then in the tabs div I have a div for the actual tab that has an embeded object in it.
ngreenwood6
A: 

Anyone have any idea how to do this?

ngreenwood6
A: 

The problem is that content in or tags is reloaded by the browser whenever it is hidden.

You can also see that to get embedded objects to change you need to rewrite the HTML for it, simply changing the src attribute will not cut it.

Phillip Whelan