SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Oct 2001
    Location
    Lisbon
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CLOSE window without prompt message yes or no

    I have a page with a swish file (flash), and i want to close the all html page, when the movie finish. i have a javascript that open up another page... But i waNT the first close automaticaly (the html page with the swi...) When i do that (with window.close or self.close ()...) always open a PROMPT BOX saying if the user wants to close or not... I want my "preloader" without that.... Can anybody help me out!
    PLEASE!!!! This is for a homebanking project.
    Alex Vasconcelos (Portugal)

  2. #2
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I doubt you will be able to do that - the prompt box is a security feature of IE designed to stop malicious sites from randomly closing your browser without you wanting them to. If you could bypass security features whenever you felt like it they wouldn't be very secure at all

  3. #3
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can only do this in a popup, other than that your stuck with the user making the options.

    just get the window to receive focus when it finishes

  4. #4
    SitePoint Member
    Join Date
    Oct 2001
    Location
    Lisbon
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    errr... Do you think so... How can i do, can you give me an example... check ou www.bbva.pt aand then bbva net https://w3.grupobbva.com/PORTUGALNET...t?action=index

    and see please what i mean... HELLLLLLLLPPPPP
    Alex Vasconcelos (Portugal)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •