View Full Version : Randomizing images

Jan 2nd, 2007, 06:17 AM
hi all. i was wondering if there was a way to code in HTML an image to be randomly alternated between other images. for instance, http://www.lscubed.com is my personal site. I would like the "intro" page's image to be alternated between three other images (same design, different color) everytime a visitor goes to that page. kinda like having an image randomly chosen everytime a visitor views the page. any suggestions would be great!!


Jan 2nd, 2007, 08:40 AM
You will have to use a script for this, unless there is a way to do it in CSS3.

Javascript and VBscript are your best bet I think.