Placed it in main.dwt.php as
<?php require_once('../rotator.php'); ?>
I found what I needed here…
see an example here
My work in progress intuHorsesPowerStore/
The header swaps a random image from a directory of possible choices each time the page is refreshed. At the moment I only have 3 images there so on refresh it sometimes replaces it with the same image.
You'll notice I have the action attached to the 3 display areas below the menus.
To accomplish this I put all the images for any one area in their own directory.
Is there a way to make it do it whenever someone is on the same page, just auto rotate with a refresh?