I want a random image (from the choice of many) to appear on the front page of my website. I believe using Javascript would be the best method. the picture will also be a link to another URL.
Can somoebody please give me some code I could copy and paste (and tell me where to put it i.e
| etc.) or even suggest a good site where i could get the code myself?
Many thanks
2006-08-14
01:34:29
·
4 answers
·
asked by
Calum H
2
in
Computers & Internet
➔ Programming & Design
I'm afraid it's a basic HTML site as I am in the process of teaching myself ASP and PHP & MySQL.
2006-08-14
01:41:28 ·
update #1
Thanks for looking. Each picture shall have a different link
2006-08-14
01:48:08 ·
update #2
This may sound daft but how does Javascript know where to search for the images? Is it standard procedure to save the html page that contains the JS code in the same folder as the images?
2006-08-14
01:50:03 ·
update #3