Reply to Re: Browser's close button

Your name:

Reply:


Posted by Bergamot on 04/02/07 18:19

jimmy wrote:
>
> 2. What i've done is that i check the coordinates of the browser for
> an event in the body unload method.
> If the coordinates match to those of the close button, it confirms
> the window closing event by closing the browser.

Hmmm... so how do you check the coordinates of closing the window via
Alt+F4 or some other method?

> So real problem arises when i resize the window

I think the problem is more that you are attempting to detect something
that cannot be reliably detected.

> i want to capture the window.close() event and then proceed
> accordingly.

I'm curious why you think you need to do this at all.

--
Berg

[Back to original 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

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