You are here: Re: Browser's close button « HTML « IT news, forums, messages
Re: Browser's close button

Posted by J.O. Aho on 04/03/07 16:53

jimmy wrote:
> yeah u r right ...
> i'm talking about the code written in the javascript of an html
> page...
> is there any way i can capture the window closing event in the
> javascript?
>

I really doubt there is any way, closes would be "unload", it's closest of the
events listed on this event list page:
http://www.w3schools.com/jsref/jsref_events.asp

When you close down a window, you don't want some javascript to keep it open
for a long while, you want it to close down at once, and I guess thats why
there aren't any close button event.


--

//Aho

 

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

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