Posted by Amos E Wolfe on 01/16/32 11:31
"shoa" <son@slingshot.co.nz> wrote in message
news:1131351582.794344@ftpsrv1...
> Hello
> 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
>
> <div>
> <img src="image.gif>
> <a href="javascript:window.close();">Close Window</a>
> </div>
>
try this
<a href="#" onclick="window.close();"><img
src=http://mysite.com/foo.jpg></a>
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
[Back to original message]
|