Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: random images  (Read 12576 times)

0 Members and 1 Guest are viewing this topic.

chuck hilikus

  • Guest
random images
« 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

Joleen

  • Guest
Re: random images
« 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.

Computer Hope Admin

  • Administrator


  • Prodigy

    Thanked: 248
    • Yes
    • Yes
    • Yes
    • Computer Hope
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 10
Re: random images
« 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
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