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

BBS: Re: Opener property?? - July 14, 1998 at 06:28:50

You are here: irt.org | BBS | Re: Opener property?? [This BBS is closed]

Posted by Jason Nugent on July 14, 1998 at 06:28:50:

In Reply to: Opener property?? posted by vanessa spahn on July 11, 1998 at 19:40:19:

: myWindow = open (.........);
: if (!myWindow.opener)
: myWindow.opener = self;

: Could someone tell me what this the second and third line
: of code is doing?

: Thanks!!

In older versions of Netscape, the opener property was not set
explicitly so you had to check and see for yourself. What this does
is verify if the opener exists (the ! represents NOT), and if it doesn't
it sets it equal to the current window.


Follow-ups:

You are here: irt.org | BBS | Re: Opener property?? [This BBS is closed]

©2018 Martin Webb