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
    Regular Coder
    Join Date
    Apr 2007
    Posts
    179
    Thanks
    17
    Thanked 0 Times in 0 Posts

    window/Browser width and height

    Try to solve the width and height issue.

    1) I am using Windows XP. How can I get the width and the height of the Windows (so called the desktop), (not the browser window)?

    2) How can I get the width and the height of the "browser window"?
    (The Browser opened can be resized, by making it larger and smaller. So the width and the height of the browser winodw will be changed, too)

    3) Can I even get the width and the height of the "viewing area" of the browser window?
    (That area not including the menu bar, status bar,...)


    Thanks


    Scott

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,075
    Thanks
    0
    Thanked 256 Times in 252 Posts
    1) screen.width and screen.height

    2) & 3) http://www.howtocreate.co.uk/tutoria.../browserwindow
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

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