Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: exit

  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    exit

    I have stumbled across some porn sites "accidently" and I saw that they have an "ENTER" and "EXIT" on their main page after all the legal mambo jambo. I notice that the "ENTER" takes you to the porn heaven, while "EXIT" just sends you to another site. I was wondering if there is a code out there where you can click "EXIT" and close the page as if you click "X" on the right hand corner of your Internet Explorer. Thank you in advance for your generosity and prospare.

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    <a href="javascript:window.close()">Close window</a>

  • #3
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Originally posted by jkd
    <a href="javascript:window.close()">Close window</a>
    There will be a warning dialog that will come up (In IE6 only.. i think) saying that the page is attempting to close the window and ask if you'd like to continiue.

    Except if you webpage opened it. Like you had a little pop-up that had that code on it.


    FYI.
    OracleGuy


  •  

    Posting Permissions

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