You are here: Re: a javascript to close window in a image « HTML « IT news, forums, messages
Re: a javascript to close window in a image

Posted by Amos E Wolfe on 01/15/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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация