SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Sep 2002
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    please help with this error

    i have this code

    <A HREF='JavaScriptpenPopWin("login.html", 700, 500, "scrollbars, resizable, toolbar")'
    onMouseOver="return setStatus('')" onMouseOut="return setStatus('')">

    <img src="images/trnsprnt.gif" width=100 height=1 border=0 alt=""><img src="images/client_login.gif" width="74" height="23" border="0" alt="login"></a>

    and when i click on this button and shoul open a new window
    but i get erros:
    Line 188
    Char :1
    Error: Object expected
    Code: 0


    Could anybody help me with this

  2. #2
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You alre calling a function which doesn't appear to be defined im guessing.

    to open a popup window.

    popupwin = open('login.html', 'popupwindowname','scrollbars=1, resizable=1, toolbar=1');

    something like that


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
  •