View Single Post
Old 06-16-2009, 01:20 PM   #3 (permalink)
Jason
Contributing Member
 
Jason's Avatar
 
Join Date: 05-17-04
Location: London, United Kingdom
Posts: 710
iTrader: 0 / 0%
Latest Blog:
None

Jason is a glorious beacon of lightJason is a glorious beacon of lightJason is a glorious beacon of lightJason is a glorious beacon of lightJason is a glorious beacon of lightJason is a glorious beacon of lightJason is a glorious beacon of lightJason is a glorious beacon of lightJason is a glorious beacon of lightJason is a glorious beacon of lightJason is a glorious beacon of light
Send a message via MSN to Jason
Hi Costin,

Thanks for your help.

I've just re-tried, but it won't load any images. I'm confident it will work, it just needs someone like yourself who has more knowledge of coding! Yes, I'm sure the Target thing is the problem.

The whole page now looks like this:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <script></script> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>hh</title> </head> <body> <script> function changeImage(filename, target) { document.target.src = filename; } </script><br> - <p align="center"> <img name="mainimage" src="Beetle6.JPG"></p> <p align="center">Images: <a href="javascript:changeImage('Beetle6.JPG', 'mainimage')">1</a> <a href="javascript:changeImage('Cardinal.jpg', 'mainimage')">2</a> <a href="javascript:changeImage('image3.jpg', 'mainimage')">3</a> <a href="javascript:changeImage('image4.jpg', 'mainimage')">4</a> <a href="javascript:changeImage('image5.jpg', 'mainimage')">5</a></p> <p align="center"> <img name="mainimage2" src="16-sp.jpg"></p> <p align="center">Images: <a href="javascript:changeImage('24-sp.jpg', 'mainimage2')">1</a> <a href="javascript:changeImage('16-sp.jpg', 'mainimage2')">2</a> <a href="javascript:changeImage('image3.jpg', 'mainimage2')">3</a> <a href="javascript:changeImage('image4.jpg', 'mainimage2')">4</a> <a href="javascript:changeImage('image5.jpg', 'mainimage2')">5</a></p> </body> </html>

Thanks for helping!

Last edited by Jason; 06-16-2009 at 01:23 PM..
Jason is offline   Reply With Quote