PDA

View Full Version : How to have a randomly changing images on my index page each time it is viewed!


Joe-childs
11-19-2008, 11:21 PM
Hi there,

my name is Joe Childs and I work for a small advertising firm called Stuff.

At the moment I am making a website for someone and I was wondering if anyone had any pointers on how to solve my problem. When I go to a homepage with the feature Iím looking for, it has a different background image each time, if anyone knows how to do this it would really help me out.

Rob_Che
11-20-2008, 12:20 AM
Triple posting isn't needed Joe...
We'll answer your question wherever it lands :)

domedia
11-20-2008, 12:23 AM
Welcome to the forums Joe!
Please don't post duplicate posts around the forum again.

Joe-childs
11-20-2008, 12:26 AM
Sorry, this will not happen again. I didn't know where the best place was to post.

domedia
11-20-2008, 12:35 AM
This one seems to do the trick.
http://www.javascriptkit.com/script/cut176.shtml