Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2003
    Location
    Mackay, Australia
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post How do you control the window size using javascript?

    Hey guys.
    Im just playing around here with a website for http://www.mad-gamers.com and I was wondering how possible it is to control the size of the browzer window using a javascript code.
    I might be missing something in my books, but I cant seem to find anything.

    Thanks in advance.

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    window.resizeTo( x, y );

    or

    window.resizeBy( x, y );
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •