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

BBS: Re: Closing remote window from main window.. - July 07, 1998 at 14:04:18

You are here: irt.org | BBS | Re: Closing remote window from main window.. [This BBS is closed]

Posted by Martin Webb on July 07, 1998 at 14:04:18:

In Reply to: Closing remote window from main window.. posted by Dan A on July 06, 1998 at 23:55:39:

: I want to be able to close a smaller window from clicking a link
: in the main one...

Assuming you've open the popup window using code like:

windowHandle = window.open ('http://www.irt.org/','windowName');

Then try:

<A HREF="#" onClick="windowHandle.close ()">Close</A>

You can also use

<A HREF="functionName ()">Close</A>

and then in functionName:

<SCRIPT LANGUAGE="JavaScript">
function functionName () {
windowHandle.close ();
}
</SCRIPT>
Follow-ups:

You are here: irt.org | BBS | Re: Closing remote window from main window.. [This BBS is closed]

©2018 Martin Webb