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