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
    Sep 2008
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Default size of window.open popup

    Does anyone know the default size of a popup window when using window.open()?

    Thanks

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,479
    Thanks
    0
    Thanked 635 Times in 625 Posts
    Quote Originally Posted by yznf View Post
    Does anyone know the default size of a popup window when using window.open()?

    Thanks
    The default is whatever your visitor has their browser set to use. A lot of people have it set to open in a new tab in the existing browser window and so it will then be whatever size they currently have the browser open to. Another common size for people to have it set to if they do allow it to open a new browser window is the available space on their screen (ie the screen resultion less whatever fixed toolbars they have defined).
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


  •  

    Posting Permissions

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