Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- how to load a different image on a web page
February 5, 2007, 5:09 pm
rate this thread
Re: how to load a different image on a web page
the page is opened or refreshed. You can also add noscript to select a
single image to display if script is turned off on the viewing
browser. If you have access to php on the server, a php script can be
used to do the same thing, and it can not be turned off by the viewer.
See an example at http://wineFAQ.hostexcellence.com with the external
script at http://wineFAQ.hostexcellence.com/wine/rand2.js . The main
thing to watch is that the array used will tolerate no errors. Just a
single missing or extra character in the array can completely kill the