View Full Version : Background Image Slideshow- Delay before first slide/image appears

05-15-2009, 12:41 PM
1) Script Title: Background Image Slideshow

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

3) Describe problem:

Hi, I am a newbie to DD Forum - hence first posting this in the wrong forum, I posted it in the javascript instead of DD Forum - very sorry won't do that again!

I have a problem with the Background Image Slideshow script.

It seems that the slide interval applies a delay on the first background image appearing. For example I set the var speed to 20000 to create a 20sec gap between slides, but the problem is when the page loads it waits 20sec before loading the first slide so I have a blank background. I want the page to have the first bg image as soon as it loads and then wait 20 secs before loading the next slide.

If I add a bg-image into the .body selector in the css this seems to override the javascript and stop the slideshow working.

Any ideas would be gratefully received!