how to close all windows in my toplevel

Discussion in 'Javascript' started by Mel, Jan 8, 2004.

  1. Mel

    Mel Guest

    i have a frame with 3 windows and i want to shut them down

    window.close() only works for one. how can i close all of them ?

    thanks
    Mel
     
    Mel, Jan 8, 2004
    #1
    1. Advertisements

  2. Mel

    kaeli Guest

    In article <acb12$3ffde7fb$44646569$>,
    enlightened us with...
    > i have a frame with 3 windows and i want to shut them down
    >
    > window.close() only works for one. how can i close all of them ?
    >


    top.close()

    Note security confirmation box will fire.

    --
    --
    ~kaeli~
    Press any key to continue or any other key to quit
    http://www.ipwebdesign.net/wildAtHeart
    http://www.ipwebdesign.net/kaelisSpace
     
    kaeli, Jan 9, 2004
    #2
    1. Advertisements

  3. Mel wrote:

    > i have a frame with 3 windows and i want to shut them down
    >
    > window.close() only works for one. how can i close all of them ?


    parent.close();

    Please read the FAQ before posting again.


    PointedEars
     
    Thomas 'PointedEars' Lahn, Feb 4, 2004
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Isabel

    Close all child windows

    Isabel, Aug 25, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    15,448
    Kevin Spencer
    Aug 26, 2003
  2. RJN
    Replies:
    2
    Views:
    5,388
  3. =?Utf-8?B?UGF1bA==?=

    How to close all windows in a web application?

    =?Utf-8?B?UGF1bA==?=, Nov 22, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    1,207
    Lau Lei Cheong
    Nov 25, 2004
  4. Replies:
    6
    Views:
    9,359
    sateeshranga
    Aug 7, 2008
  5. Scott Holmes

    Closing Toplevel windows

    Scott Holmes, Aug 1, 2003, in forum: Python
    Replies:
    0
    Views:
    456
    Scott Holmes
    Aug 1, 2003
  6. Dani
    Replies:
    3
    Views:
    665
  7. Iñaki Baz Castillo
    Replies:
    7
    Views:
    1,295
    Iñaki Baz Castillo
    Jan 12, 2010
  8. Replies:
    3
    Views:
    623
    Chung Leong
    Jan 16, 2005
Loading...