Home / Internet & Networking / Web design / random images
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: random images  (Read 3216 times)
chuck hilikus
Guest
« on: April 27, 2004, 08:17:21 PM »

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
IP logged
Joleen
Guest
« Reply #1 on: April 28, 2004, 09:24:56 AM »

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.
IP logged
Computer Hope Admin
Administrator
Prodigy



Thanked: 210
Posts: 6,065

Certifications: List
Computer: Specs
Experience: Guru
OS: Windows Vista

Computer Hope 1 1 1
« Reply #2 on: May 26, 2004, 12:52:22 PM »

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

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

Everybody is a genius. But, if you judge a fish by its ability to climb a tree, it will spend its whole life believing that it is stupid.
-Albert Einstein
Pages: [1] - (Top) Print 
Home / Internet & Networking / Web design / random images « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.103 seconds with 20 queries.