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. Advertising

  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. Advertising

  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. Advertising

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. RJN
    Replies:
    2
    Views:
    4,915
  2. Replies:
    6
    Views:
    8,841
    sateeshranga
    Aug 7, 2008
  3. Scott Holmes

    Closing Toplevel windows

    Scott Holmes, Aug 1, 2003, in forum: Python
    Replies:
    0
    Views:
    353
    Scott Holmes
    Aug 1, 2003
  4. Iñaki Baz Castillo
    Replies:
    7
    Views:
    870
    Iñaki Baz Castillo
    Jan 12, 2010
  5. Replies:
    3
    Views:
    411
    Chung Leong
    Jan 16, 2005
Loading...

Share This Page