Results 1 to 2 of 2

Thread: Re: Encrypted Password Script - New Window?

  1. #1
    Join Date
    May 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Encrypted Password Script - New Window?

    1) Script Title: Encrypted Password Script

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex9/password.htm

    3) Describe problem: When I enter in the username/password and hit submit, it opens the webpage in the current frame. What do I need to change in the code to get it to open up my secret webpage in a NEW window? I tried _blank etc. but it doesn't seem to work. Any help is much appreciated.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,926
    Thanks
    43
    Thanked 3,190 Times in 3,154 Posts
    Blog Entries
    12

    Default

    Change:

    Code:
    window.location=password+".htm"}
    to:

    Code:
    window.open(password+'.htm','_blank');}
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •