SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    In a house in the USA
    Posts
    293
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    New window from New window

    Hello, I have made a new order form and it comes up in a new window with the following code:
    Code:
     <a href="javascript:void(0)" onclick="open('order.php','newwin','toolbar=0,location=0,directories=0,
    status=0,menubar=0,scrollbars=1,resizable=0,width=600,height=380')">
    Order</a>
    
    Then inside of that I have a link like the following:
    Code:
     <a href="javascript:void(1)" onclick="open('tos.php','newwin','toolbar=0,location=0,directories=0,
    status=0,menubar=0,scrollbars=1,resizable=0,width=600,height=380')">
    Terms of Service</a>
    
    The Terms of Service link will not open. Can anybody tell me why and how to fix it. Thanks!
    Daniel
    http://www.wlscripting.com - PHP Tutorials and code snippets
    Notepad++ Function List plugin tip - for PHP developers

  2. #2
    My precious!!! astericks's Avatar
    Join Date
    Mar 2002
    Location
    Vancouver, BC
    Posts
    1,971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    have you tried using window.open() ?? give it a try.

  3. #3
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    In a house in the USA
    Posts
    293
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, I just figured it out. I kind of feel stupid but it was actually the newwin in the second one. It had to be newwin2. Thanks!
    Daniel
    http://www.wlscripting.com - PHP Tutorials and code snippets
    Notepad++ Function List plugin tip - for PHP developers


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
  •