Random image/page selection

Soldato
Joined
19 Oct 2002
Posts
3,244
Simple question I imagine, but I`m new to this so patience would be appreciated.

I`m looking for a short script to randomise the display of an image on a particular part of a webpage.

To complicate this, could a random button/image be displayed that links to a different page for each specific random image/button?

Failing this is there a means to direct browsers to one of 3 different webpages that are selected at random each time the same URL is visited. Will these pages be displayed as different URLs, or the same one?

Also, minor issue. Is there a way to prevent a footer file being attached to the bottom of the browser window - i.e. it remains at the bottom of the webpage irrespective of browser window size?

Many thanks for your help.
 
Try using Rob Miller's image rotation in php script.

Pre-edit: Wrong....

Edit: For my forum header;

Code:
<td align="center" valign="top"><img src="path/to/images/random/random.php" alt="" height="110" width="808"></td>

Swap out the path and to for what you need. In the random file theres the images and the script, so, ignore what I said pre-edit. :)
 
Last edited:
Back
Top Bottom