I have a slide show that uses easing to hide/show divs.
A couple of the divs have flash videos and they are reloaded (that is, the file not the movie) every time the respective slide "show开发者_高级运维s".
Is it possible to cache these files so they dont have to be reloaded every time?
Thanks
EDIT
I'm using the Jquery plugin Cycle
$('#slideshow').cycle({
fx: 'fade',
timeout:5000,
cleartype: 0
});
Just doing some quick tests, in FF 4 (on a Mac), it looks like display none -> display block has a little lag, whereas visibility hidden -> visibility visible doesn't.
You could try reworking your slideshow script to toggle visibility
rather than display
精彩评论