Makes sense,
cheers.
> am pretty sure you can only do that from the page which opened the window.
> This is because its the browser that has given the window the name and knows
> what it is. Any other page will not know whar newWin referes to.
>
> You may have to do it via the window its self
>
> window.open("myPage.html","newWin");
>
> newWin.close();
>
> Steve
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Taco Fleur
> Sent: Monday, July 21, 2003 1:33 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] [OT] JS close window
>
>
> Easy question...
>
> I open a new window like
>
> newWin = window.open(...... etc.
>
> Then on a different page I would like to close this new window, should the
> folling not do this?
>
> window name.close() i.e. newWin.close()
>
> ??
>
> It is not working, am I missing something?
> Cheers.
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
>
> MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/