hmmmmmm, so you have a satellite (child window) open
they can do stuff in that new window, do they usually leave that window
open?
and when they are done in that window, or the main window and you log
them out, you want that window to close?

tony

-----Original Message-----
From: Brrrian [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 09, 2003 9:46 PM
To: CF-Talk
Subject: RE: _javascript_ window.close() twist

Nope, but thanks ;)

I am not trying to close the Parent window... I want the _javascript_ in
the
Parent window to close the Child window.

At 09:21 PM 11/9/03 -0500, you wrote:

>make a button click or <a> that is
>like this
>
><a here to Close</a>
>
><input type="submit" value="Click here to Close"
>> >
>hth
>tony
>
>
>-----Original Message-----
>From: Brrrian [mailto:[EMAIL PROTECTED]
>Sent: Sunday, November 09, 2003 9:13 PM
>To: CF-Talk
>Subject: _javascript_ window.close() twist
>
>I'm chasing a _javascript_ issue. Main page opens a child window which
>populates with a menu. Choosing a menu item opens the menu selection in
>the
>parent window. This is working well.
>
>function popUp(page, name, details) {
>newWin=window.open(page, name, details);
>newWin.focus();
>return false;
>}
>
>from theChildWindow I use a function
>function loadinparent(url){
>self.opener.location = url;
>}
>
>The user can continue to make choices from the Menu... each time
>populating
>the Parent Window until the user is done working.
>
>------------
>The Issue
>------------
>When the user wants to LogOut I need to Close the Child Window.  I
can't
>
>get anything to work.
>
>theChildWindow.close();   or   newWin.close();
>
>The parent seems to loose track of the child window. I get errors like
>theChildWindow is undefined... or newWin is undefined.
>
>I spent the weekend surfing _javascript_ forums etc... no luck yet! Help!
>;)
>
>
>----------
>[

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to