Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: closing pop-up window from parent window - July 09, 1998 at 13:56:16

You are here: irt.org | BBS | Re: closing pop-up window from parent window [This BBS is closed]

Posted by Michelle on July 09, 1998 at 13:56:16:

In Reply to: Re: closing pop-up window from parent window posted by Dan A on July 09, 1998 at 11:53:49:

: : In the parent window I am trying to close the pop-up window by
: : doing this:

: : <SCRIPT LANGAUGE=JAVASCRIPT>
: : //Close pop-up window
: : winHlp.close ();
: : </SCRIPT>

: : I get the following error: "winHlp not defined".

: : winHlp is the name of the pop-up window so I don't understand
: : why I am getting this error message.

: : Could someone tell me what else could be generating this message?

: : Thanks!!

: Vanessa, Yes, iam trying to do the same thing and I tried
: windowname.close () but i get that "windowname undefined"
: message. I was using the child window as a form to login with
: a username/password and then target the parent window.
: I just used a setTimeout (window.close (),5999) to close the window
: about 6 seconds after it was submitted.
: However, you probably arent doing the same thing.
: I will try to figure out a way to do it.
: good luck.

I have found that using the following code will close the window.

self.close ()

If the window is not
onBlur=self.focus ()
it should close when you click on the parent screen.

Michelle


Follow-ups:

You are here: irt.org | BBS | Re: closing pop-up window from parent window [This BBS is closed]

©2018 Martin Webb