SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2000
    Location
    Honolulu, Hawaii, USA
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can anyone tell why the form code for the popup window at http://members.tripod.com/sojourner60/sailors.htm works correctly in IE, but not in Netscape? The window displays the wrong size and without scrollbar, toolbar etc. even though these are specified in the code.

  2. #2
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You need to eliminate the spaces between the attributes:

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
    function popUp() {
    props=window.open('menu.htm', 'poppage', 'toolbars=1,scrollbars=1,location=1,statusbars=1,menubars=1,resizable=1,width=470,height=350,left=200,top=100');
    }
    [/code]


    ------------------
    -Kevin Yank.
    http://www.SitePoint.com/
    Helping Small Business Grow Online!


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
  •