Click to See Complete Forum and Search --> : Exit on click


davis_s
12-05-2003, 09:58 AM
I have an image and want to exit when i click it..please help me with the code.

Daria
12-05-2003, 10:04 AM
simple little Javascript:

<a href="javascript:window.close()"><img src="yourimage.gif" border="0"></a>

Daria
12-05-2003, 10:07 AM
Please, disregard the space in javascript: I don't know why it appears there when I post the message (or try to edit the original one), but there should be no space between java and script in one-word for javascript

davis_s
12-05-2003, 12:25 PM
thanx a lot lot, it works