Hi Felix,

   Thanks for the feedback... I really want to figure out how to do this.

   The application I am working on is on an Intranet, and not viewable  
from the outside world.  However, if you will point your browser to:  
http://www.webtdo.com you will see an explanation (complete with  
screen-shots) of what I am trying to accomplish, and how I am trying  
to invoke the "top.Windows.close('id') function.

Scot

P.S.  The screen shots don't show it, but the windows <script  
src="..."> are in metricsHeader.php  ( Last photo )

Quoting Felix Shnir <[EMAIL PROTECTED]>:

> well it depends the structure, but it you are trying to kill window 1 from
> inside of window 2 (if using iframes), you'd need to do
> top.top.Windows.close('id') to reach the opening parent of the window 1...
>
> If you have a sample somewhere, show us, that'll be a bit clearer.
>
> Felix.
>
>
> On 6/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>> Hello All,
>>
>> I know that this has been asked and answered, but I can't get it to
>> work.  I have one Window that opens another window... I want the user
>> to be able to close the second window with a link on the page, but
>> 'top.Windows.close('your_window_id')' doesn't do anything as the
>> target of an anchor... Any suggestions on how this is supposed to work
>> will be appreciated.
>>
>> Scot L. Diddle, Principle, IS, UPS Freight, Richmond VA
>>
>> +-Window 1--------+
>> |                 |
>> | +-Window 2-+    |
>> | |          |    |
>> | | Close    |    |
>> | | Button   |    |
>> | |          |    |
>> | +----------+    |
>> |                 |
>> |                 |
>> |                 |
>> +-----------------+
>>
>>
>> _______________________________________________
>> Javawin mailing list
>> [email protected]
>> http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
>>



_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to