PDA

View Full Version : Ultimate Fade-in slideshow - Disabling preloading



eday_2010
11-10-2006, 11:32 PM
1) Script Title: Ultimate Fade-in slideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem: Want to disable image preloading

Hi, I would like to disable the image preloading in the script. I have a TON of images that this script cycles through, and when it loads it stalls the entire page from loading. So i'd like to disable the preloading so the page loads quickly. I am hoping that the images will load as the script does its thing.

jscheuer1
11-11-2006, 04:59 AM
They won't on a live installation, at least not the first time through if they aren't already cached by the browser.

What you could do is disable the preload in the script (which, if I recall correctly preloads as part of the page load) and substitute an onload preload. This would still look crappy at first but, you could still preload the first 5 or so images in the old manner. Unless you are using the random method, that might throw a glitch into things. I believe DD came up with a solution for this problem that preloads as it goes along:

http://www.dynamicdrive.com/forums/showthread.php?t=7203

eday_2010
11-11-2006, 05:12 AM
Bingo! Thanks so much for the reference. Everything is perfect now :)