πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: microsoft.public.inetsdk.programming.scripting.jscript
4 messages
4 total messages Started by Rafael Rasinger Tue, 19 Oct 1999 00:00
onwindowclose event
#26
Author: Rafael Rasinger
Date: Tue, 19 Oct 1999 00:00
9 lines
1365 bytes
Dear reader!

I am looking for an "onwindowclose" event in JS.

Saying: If a user wants to close the Browser window a JS function is
launched (in my case a loggout page is loaded) before the browser is closed.
Is there a posibility of performing this feature (in NN and MSIE)?

Thanx for ur help, Rafael
Re: onwindowclose event
#27
Author: Migo Lemer
Date: Tue, 19 Oct 1999 00:00
14 lines
1327 bytes

Rafael Rasinger a οΏ½crit :

> Dear reader!
>
> I am looking for an "onwindowclose" event in JS.
>

Have you tried "onunload()" ?



ML
Re: onwindowclose event
#28
Author: Rafael Rasinger
Date: Tue, 19 Oct 1999 00:00
12 lines
1498 bytes
Dear Migo Lemer!

Merci pour votre contribucion!

> > I am looking for an "onwindowclose" event in JS.
> Have you tried "onunload()" ?

Yes. But unfortunately when u move your window with the mouse outside the
screen-borders, the event "onunload" also occurs. I need an even which just
works when the window is really close and not reloaded. Do u have an idea!

Au revoir, Rafael
Re: onwindowclose event
#29
Author: Ben Carter
Date: Tue, 19 Oct 1999 00:00
29 lines
2015 bytes
onbeforeunload() in IE. doesn't exist in NS though.

Rafael Rasinger wrote:
> 
> Dear Migo Lemer!
> 
> Merci pour votre contribucion!
> 
> > > I am looking for an "onwindowclose" event in JS.
> > Have you tried "onunload()" ?
> 
> Yes. But unfortunately when u move your window with the mouse outside the
> screen-borders, the event "onunload" also occurs. I need an even which just
> works when the window is really close and not reloaded. Do u have an idea!
> 
> Au revoir, Rafael

-- 
//////////////////O\\\\\\\\\\\\\\\\\\
////                             \\\\
///        Ben S. Carter,         \\\
//   Web Application Developer,    \\
/  Bluewater Parklands Mgmt. Inc.   \
>       Guelph, ON, N1H 3G3         <
\     519-766-0901  Ext. 226        /
\\          ben@camis.com          //
\\\      webmaster@camis.com      ///
\\\\                             ////
\\\\\\\\\\\\\\\\\\O//////////////////
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads