SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2003
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    help with piece of code

    My browser keeps giving an error for the following piece of code. Can anyone help me find the error? Thanks.
    PHP Code:
    <head>
    <
    script language=javascript>
    function 
    guidePopup()
    {
    var 
    myWindow window.open("help.html""guide")
    }
    function 
    popUp(url) {
    sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,
    menubar=1,scrollbars=1,resizable=1,width=700,height=650'
    );
    self.name "mainWin";
    }
    </script>
    </head>
    <body>
    <input type="Button" value="guide" class="button" onclick="guidePopup()">
    </body> 

  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What error do you get?
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





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
  •