View Full Version : Background Slideshow

02-18-2011, 03:02 PM
I'm looking for a method of having the background of a "wrapper" change every five seconds or upon refresh. My site populated much of the content from a MYSQL database and my preference would be to have the background image names come form the database and the file come from the server. If anyone can point me in the right direction I would appreciate it.


02-18-2011, 05:53 PM
Javascript would be perfect for this.

Set an array of the images you want to use, and then have JS swap the background using the DOM every five seconds.