1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

window.open always opens maximized

Discussion in 'Firefox, Thunderbird & SeaMonkey' started by Cheruvim, 2009/08/19.

  1. 2009/08/19
    Cheruvim

    Cheruvim Inactive Thread Starter

    Joined:
    2009/08/19
    Messages:
    2
    Likes Received:
    0
    Many people have written asking how to force a window to open maximzed. However I have the opposite problem. I pass a width and height to my window.open() call and every time the window opens maximized, not to the height and width passed to the open() call.

    The strange part is, this happens with only some of the window.open() calls. The rest are fine. How do I get Firefox to abandon this annoying behavior and obey the parameters of the open() call?

    Thanks in advance,
    C.
     
  2. 2009/08/19
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    post your code
     

  3. to hide this advert.

  4. 2009/08/19
    Cheruvim

    Cheruvim Inactive Thread Starter

    Joined:
    2009/08/19
    Messages:
    2
    Likes Received:
    0
    window.open(page,name, "width= "+width+ ",height= "+height+ ",status=yes,dependent=yes,resizable=yes,scrollbars=yes ")

    where width and height are both 500, page is the url and name is the window name equivalent to a target attribute.
     
  5. 2009/08/20
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Thanks.
    Verify FF settings > enable javascript > advanced > move or resize windows.

    FF does have some quirks with window.open, try using a function and call that function onclick.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.