Javascript auto-resize browser

Discussion in 'JavaScript' started by Javver, Jan 21, 2010.

  1. #1
    Hi,

    i need javascript that will auto-resize the browser when opened, and also that works for all major browsers like IE, FF and Opera.

    thank you,
    Javver
     
    Javver, Jan 21, 2010 IP
  2. rainborick

    rainborick Well-Known Member

    Messages:
    424
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    120
    #2
    A quick Google search should provide you with the information you want. But I would strongly urge you not to do this. Having your browser window resized while you're browsing the web is incredibly annoying. Many users will simply leave your site and/or never return. It's much better to design your pages so that they work well with any window size. So don't do it without a compelling reason.
     
    rainborick, Jan 21, 2010 IP
  3. alextera

    alextera Peon

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you can use window.resizeTo(width, height).
     
    alextera, Jan 26, 2010 IP