PDA

View Full Version : white background to start with



ripthorn
03-12-2014, 09:27 PM
1) Script Title: Background image slideshow

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

3) Describe problem: Great script, works really well apart from the fact that it doesn't start with an image. It's just the white background which then shows the first picture after the first rotation. Can it start with one of the pictures ?

Thanks for reading.

traq
03-13-2014, 01:20 AM
Simply set a default background image in your CSS.

ripthorn
03-14-2014, 11:06 AM
simple ! thank you :o

traq
03-15-2014, 03:55 AM
You're quite welcome. Glad I could help.

If your question has been answered, please mark your thread "resolved":
On your original post (post #1), click [edit], then click [go advanced]. In the "thread prefix" box, select "Resolved". Click [save changes].

ripthorn
03-29-2014, 01:47 PM
Hi, sorry, finally got round to looking at this. If I just add

background-image:url('images/bgslide2.jpg');

in the css it displays the background but then appears to stop it from scrolling though the other images. What have I missed ?

Thanks

traq
03-30-2014, 05:20 AM
umm... dunno. but here's one that works (http://jsfiddle.net/traq/UnjLT/).