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
  1. #1
    New to the CF scene
    Join Date
    Mar 2003
    Location
    Massachusett's
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need to close window automatically

    I created a page that opens a new pop up window. That pop up window then refreshes to another page. The problem is that the original window stays open. I want to add a script that will close that original window. You can see this in action right now at http:www.beachridr.com

    Thank you!

  2. #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Louisiana
    Posts
    576
    Thanks
    0
    Thanked 0 Times in 0 Posts
    put this in the popup code
    parent.close();

  3. #3
    Regular Coder
    Join Date
    Nov 2002
    Posts
    596
    Thanks
    0
    Thanked 0 Times in 0 Posts
    http://www.codingforums.com/showthre...ht=popup+close

    1) parent refers to frames
    2) Doing this is extremely irritating, and will lose you visitors
    3) Site search! (read sticky at the top of this board)


 

Posting Permissions

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