What is the proper syntax

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • theking
    Nice Kitty
    • Sep 2002
    • 21053

    #1

    What is the proper syntax

    I want to open a new window using onClick and I cannot seem to get the proper syntax without displaying an error on the page.

    onclick="window.open='http://php.xxxdatabase.com/link/?&user=freexxx&site=pics'"

    The above works without a syntax error but it does not open a new window.
    Last edited by theking; 01-12-2003, 03:51 AM.
    When you're running down my country hoss...you're walking on the fighting side of me!

    FOR THE LYING LOWLIFE POSTING AS PATHFINDER...http://gfy.com/fucking-around-and-pr...athfinder.html
  • Dveron
    Confirmed User
    • Dec 2002
    • 2794

    #2
    onclick="window.open('urlhere.htm','Windowname','w idth=700,top=0,left=0,resizable,scrollbars,height= 450'); return false;"

    is what I use.
    Adult Comics Club - Updated Bi-Daily. 60% Recurring Payouts. Exclusive Comic Content.

    Comment

    • theking
      Nice Kitty
      • Sep 2002
      • 21053

      #3
      Thanks for the input, but I worked out the problem alittle differently.
      When you're running down my country hoss...you're walking on the fighting side of me!

      FOR THE LYING LOWLIFE POSTING AS PATHFINDER...http://gfy.com/fucking-around-and-pr...athfinder.html

      Comment

      Working...