PDA

View Full Version : Help turning an image into a back button


richardjtaylor
07-09-2007, 03:01 PM
Hi

I want to be able to turn the image that reads 'back' on the page below into a "back button" that automatically makes the browser go back a page, just like the back button within the browser. How do i do this?

http://www.richardjohntaylor.com/billyamurray/photoerror.html

Pegasus
07-09-2007, 03:14 PM
You can't do it using HTML. It has to be done with Javascript. I'll just put this thread over to Clientside scripting for you.

richardjtaylor
07-10-2007, 12:58 PM
Any suggestions?

RysChwith
07-10-2007, 01:10 PM
If I remember correctly, it's something like:document.history.back();Rys

richardjtaylor
07-15-2007, 05:43 AM
If I remember correctly, it's something like:document.history.back();Rys

Where do I type this? Still got no idea!

steverz
07-17-2007, 08:43 AM
<img src="image.jpg" onClick="javascript:document.history.back();" border="0" alt="" />