Try the sample I posted and I think you can easily detect the browser quit.
be unloaded.
unloaded. If you have other events, you have to handle it specifically.
"Nithi Gurusamy" <nithig@yahoo.com> wrote in message
news:ubHC08AmDHA.1708@TK2MSFTNGP12.phx.gbl...
> Hi Raffaele:
>
> My requirement is like this. I open a popup window from a parent window
when
> the user clicks on a link. From the popup window user can click links that
> will target the parent window causing the URL change in parent window.
This
> is what I want. Now the problem is when the user closes the browser, the
> popup window must be closed automatically. Also the popup window must be
> closed whenever the URL in the parent window changes to any other domain
> other than my current domain. For example, if my current domain is
>
www.mysite.com, how will I detect the URL change so that I can close the
> popup window right away. Also I need to close the popup window on browser
> close.
>
> Thanks
> Nithi Gurusamy
>
>
> "Raffaele Rialdi [MVP]" <malta@n0spam_vevy.com> wrote in message
> news:eBBIWmAmDHA.3504@TK2MSFTNGP11.phx.gbl...
> > Look at my answer to your post in the previous thread.
> >
> > --
> > Raffaele Rialdi
> > Microsoft .NET MVP
http://mvp.support.microsoft.com > > UGIdotNET - User Group Italiano .NET
http://www.ugidotnet.org > >
> >
> >
> > "Nithi Gurusamy" <nithig@yahoo.com> wrote in message
> > news:ukxFFz%23lDHA.1764@tk2msftngp13.phx.gbl...
> > > Dear Group:
> > >
> > > I unknow we can use onunload events of window and body objects to
detect
> > > when the URL changes. But is there a event that tells me the Internet
> > > Explorer or Netscape window itself is closing?
> > >
> > > Thanks
> > > Nithi Gurusamy
> > >
> > >
> >
> >
>
>