#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Location
    plano,tx
    Posts
    1
    Rep Power
    0
    I have a need to create a login window, and when/if the user has logged in, I want to destroy that window, then create another browser window with different characteristics, and destroy the original one that had the username/password code.

    That part isn't so bad, but the problem I have is that the browser asks me are-you-sure-you-want-to-close-the window when I try to do the self.close().

    Is there a work-around? I don't want the user to get the chance to even answer this question.


    David
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Location
    Rumilly, HS, France
    Posts
    8
    Rep Power
    0
    The browser ask you this question only for the first opened window (the window opened by the user).

    All windows opened with javascript will close without asking.

    KliK


Similar Threads

  1. conditional child window close
    By robee in forum HTML Programming
    Replies: 9
    Last Post: December 9th, 2003, 11:52 PM
  2. close window from another window
    By achieve in forum HTML Programming
    Replies: 5
    Last Post: November 19th, 2003, 03:44 PM
  3. Replies: 4
    Last Post: October 22nd, 2003, 08:46 PM
  4. can a child window be closed if i close a parent window?
    By equalize in forum HTML Programming
    Replies: 8
    Last Post: August 1st, 2003, 06:04 AM
  5. Replies: 1
    Last Post: May 7th, 2003, 03:49 PM

IMN logo majestic logo threadwatch logo seochat tools logo