Internet & Networking > Web design

random images

(1/1)

chuck hilikus:
i am looking for a script or code (html) that will load a random image.

i would like to have my logo on the top of the page be a different one every time the page loads.

if anyone knows where i could find this please help me out.


ask ?s if i did not explain good enough

thanks,
hilikus

Joleen:
In the <body...> have an onload= then point it to your script.  In the script you can have a random # generator and based on the # range load a different image.

Computer Hope Admin:
You can find an example on how to do this at:

http://www.computerhope.com/j18.htm

Navigation

[0] Message Index

Go to full version