it has to be modal in any case,
showModelessDialog doesn't stop the click event on the parent window,
which is a problem in my case .
----- Original Message -----
From: "Joe Fawcett" <joefawcett@h...>
To: "javascript" <javascript@p...>
Sent: Wednesday, July 31, 2002 4:42 PM
Subject: [javascript] Re: closing the showModalDialog
> Sorry, I thought it would close, then in that case I think you are stuck.
If
> it doesn't have to be modal then use showModelessDialog which does close
> automatically.
>
> Joe
>
>
> >From: "Arun Kumar" <akumar@g...>
> >Reply-To: "javascript" <javascript@p...>
> >To: "javascript" <javascript@p...>
> >Subject: [javascript] Re: closing the showModalDialog
> >Date: Wed, 31 Jul 2002 15:51:05 +0530
> >
> >the problem is if showModalDialog is opened I am unable to close the
> >parent.
> >so I have to check if showModalDialog is opened , then I have to close
it,
> >then I want parent to get closed. but don't know how.
> >
> >----- Original Message -----
> >From: "Joe Fawcett" <joefawcett@h...>
> >To: "javascript" <javascript@p...>
> >Sent: Wednesday, July 31, 2002 3:36 PM
> >Subject: [javascript] Re: closing the showModalDialog
> >
> >
> > > If you close the parent window from another window then the modal
dialog
> > > should close. So if you open a new window using window.open:
> > > var oNewWin = window.open(...
> > > then show a modal window from oNewWin you do:
> > > oNewWin.close();
> > >
> > > Joe
> > >
> > >
> > > >From: "Arun Kumar" <akumar@g...>
> > > >Reply-To: "javascript" <javascript@p...>
> > > >To: "javascript" <javascript@p...>
> > > >Subject: [javascript] closing the showModalDialog
> > > >Date: Wed, 31 Jul 2002 15:16:50 +0530
> > > >
> > > >Hi Friends,
> > > >I have a problem with showModalDialog.
> > > >I want to close the showModalDialog and its parent from a another
> >window.
> > > >how I can handle the showModalDialog .
> > > >
> > > >Arun Kumar
> > > >Aithent Technologies, Gurgaon
> > > >91-124-6455511 ext.. 310
> > > >
> > > >
> > > >
> > > >---
> > > >
> > > >Improve your web design skills with these new books from Glasshaus.
> > > >
> > > >Usable Web Menus
> > >
> >
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> > > >r-20
> > > >Constructing Accessible Web Sites
> > >
> >
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> > > >r-20
> > > >Practical JavaScript for the Usable Web
> > >
> >
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> > > >r-20
> > >
> > >
> > >
> > >
> > > _________________________________________________________________
> > > MSN Photos is the easiest way to share and print your photos:
> > > http://photos.msn.com/support/worldwide.aspx
> > >
> > >
> > >
> > > ---
> > >
> > > Improve your web design skills with these new books from Glasshaus.
> > >
> > > Usable Web Menus
> > >
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> > > r-20
> > > Constructing Accessible Web Sites
> > >
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> > > r-20
> > > Practical JavaScript for the Usable Web
> > >
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> > > r-20
> >
> >
> >
> >---
> >
> >Improve your web design skills with these new books from Glasshaus.
> >
> >Usable Web Menus
> >http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> >r-20
> >Constructing Accessible Web Sites
> >http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> >r-20
> >Practical JavaScript for the Usable Web
> >http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> >r-20
>
>
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20