470,647 Members | 1,219 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

closing the main browser with onclick?

OK - I know! This is supposedly "not nice"!

But, there are times, especially for internal web applications, where it may
be desired. And I have just that situation in several applications at
this time.

When the user clicks on an icon from the desktop it actually causes a
separate copy of Mozilla to be started along with its referenced
applications. This part of the process works just fine. But, its possible
to have more than one application open on the desktop at a time. And I am
certainly aware that clicking on the "X" will close the browser session,
but some of the users are running in kiosk mode (don't ask).

Therefore, it would be really nice if the "Quit" buttons which contain
onclick="close()" would do just that.

So, as I haven't been able to find anything that "might" supercede this
caution, does anyone have a method or trick that will allow this to work???

Thanks all who respond.

Bob
Dec 8 '06 #1
1 1290
ASM
bobmct a écrit :
OK - I know! This is supposedly "not nice"!
once upon a time ...
was a marvelous world where that worked in certain conditions
(and only in local : not on a server)
something like :

function closeMe() {
opener = self;
self.close();
}
but that does not more work with FF2


--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date
Dec 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

22 posts views Thread by Theo | last post: by
7 posts views Thread by ~John Hemans~ | last post: by
7 posts views Thread by wrytat | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.