a javascript to close window in a image

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have a image in the top of a popup window. Now I want to have a close link
(using javascript) in the centre right of this image to close this window.
Could you please tell me how to do that

<img src="image.gif>
<a href="javascript:window.close();">Close Window</a>


Re: a javascript to close window in a image

Quoted text here. Click to load it

try this

<a href="#" onclick="window.close();"><img

If in doubt give a URL for the page and we can all see what you want to do.

-=# Amos E Wolfe #=-
AIM: Traindriver9334
Get Firefox: http://www.spreadfirefox.com/?q=user/register&r=122394

Site Timeline