Reply to Re: Browser's close button

Your name:

Reply:


Posted by Jukka K. Korpela on 04/02/07 10:57

Scripsit jimmy:

> I want to capture the event when the browser's close button is clicked
> in a jsp.

"In a jsp"?

What do you _really_ want to do? Have you considered the fact that a browser
can be closed in different ways, which need to involve any "close button".

As usual, a URL would illustrate the real problem, but ignore this if you
don't really want to get help

> The problem arises whenever i try to close the window by resizing it
> or by right clicking at the bottom of the page and then closing it.

So you _do_ know that capturing the close button event isn't enough. Why did
you ask about _it_, then?

> Can anybody tell how to capture the window.close() event??

You might find better help with that in comp.lang.javascript. But are you
sure _that_ is your _real_ problem?

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[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

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