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