214-564-5316
Saturday, February 04, 2012

Randomly change image on page refresh
Visit TexasWebDevelopers.com
Here is the code:
Put this in between the <head> </head> tags:
Put this in the body tag:

Put this where you want the image to go:
Make sure all of your images are the same size and that the width and height attribute is changed to the size of YOUR images. We also like to use a transparent gif (clear.gif) for the placeholder image instead of one of the images in the array.