javascript:window.open

Discussion in 'Web Design & Coding' started by Glaanieboy, Jan 25, 2004.

  1. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    I have a javascript:window.open in a HTML page, but when I click it, the window from which it was opened gets a text that goes: [Object Window] (Firebird) or [Object] (IE). How can I prevent this?
    code (is within the <a href="<code>" tags):
    Code:
    javascript:window.open('admin.php?tool=ip&ip=81.68.68.83', '', 'fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=200,height=50,left=200,top=200');
     
  2. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    <a href="#" onclick="window.open('admin.php?tool=ip&ip=81.68.68.83', '', 'fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no ,width=200,height=50,left=200,top=200');">
     
  3. Glaanieboy

    Glaanieboy Moderator

    Messages:
    2,626
    Location:
    The Netherlands
    Thank you!
     
  4. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    sure thing :)