Reply to Re: Browser's close button

Your name:

Reply:


Posted by Dan on 04/02/07 15:26

On Apr 2, 8:03 am, "jimmy" <varun.jas...@gmail.com> wrote:
> 1.consider an html in place of jsp...that really doesn't matter..

HTML can't capture and react to any events; it's a markup language,
not a programming language.

> 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.

How exactly do you claim to know the exact coordinates of the "close
button" for every possible browser and platform any user might be
using? Anyway, aren't such controls part of the "browser chrome"
which is outside the page "canvas" which any coding in your site can
work with?

--
Dan

[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

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