Website
Rotating Images and Files on Webpage
Continue to work on getting my website updated. It is fun learning new things as I work on the site. Ive added rotating images to my pages as well as the background using the rotate.php script from Dan P. Benjamin, Automatic, Ltd. The script is very simple to implement copy the file into the directory with your images then call it from your page or from the css file to rotate the background. Dan P. Benjamin, Automatic, Ltd. random image rotator.
Sample entry for css file:
background: url(images/random-images/rotate.php);
Sample entry for webpage:
<p align=”center”><img src=”images/photography/rotate.php” alt=”random photos” width=”375″ height=”315″ /></p>
To provide a random id for the images Continue reading