Where I am:
I've got a pop up slideshow, where people click normal image links to go back and forward through it.
What I want to do:
I want an image link that closes the window when clicked, so people can go back to the main site. I want an image rather than a form button as then I can make it the same as the forward and back buttons.
The problem:
When I use this code:
Expand|Select|Wrap|Line Numbers
- <a href="javascript: window.close()"><img src="image.gif"></a>
I want it to work in all browsers, including Safari
any ideas gratefully received, also if it just can't be done, could you let me know.
(PS, I've also tried to make the image link to another page with an automatic timeout that didn't work either.
Expand|Select|Wrap|Line Numbers
- <body onLoad="setTimeout('window.close()', 1000);">