Information about Visitors to your Site
There is a fair amount of information available about the visitors who come to your site that tell you about the browser that they are using and how big their browser window is. You can use this information to help you determine how to display your page.
| System Properties | |
| navigator.appVersion | the Operating System used by the visitor |
| screen.width | total width of the visitor's screen |
| screen.height | total height of the visitor's screen |
| screen.availWidth | full screen width of the visitor's browser window |
| screen.availHeight | full screen height of the visitor's browser window |
| screen.colorDepth | number of colours that the visitor's screen is set to use |
| Browser Properties | |
| navigator.appName | name visitor's browser identifies itself as (not necessarily what it actually is) |
| parseInt(navigator.appVersion) | browser version number |
| window.outerWidth | actual width of visitor's browser window |
| window.outerHeight | actual height of visitor's browser window |
| Page Properties | |
| window.innerWidth | the available display width within the visitor's browser window (Netscape only) |
| document.body.clientWidth | the available display width within the visitor's browser window (not Netscape) |
| window.innerHeight | the available display height within the visitor's browser window (Netscape only) |
| document.body.clientHeight | the available display height within the visitor's browser window (not Netscape) |
| window.pageXOffset | the current scroll distance from the left of the page (Netscape and Opera only) |
| document.body.scrollLeft | the current scroll distance from the left of the page (not Netscape or IE strict) |
| document.documentElement.scrollLeft | the current scroll distance from the left of the page (not Netscape or IE transitional) |
| window.pageYOffset | the current scroll distance from the top of the page (Netscape and Opera only) |
| document.body.scrollTop | the current scroll distance from the top of the page (not Netscape or IE strict) |
| document.documentElement.scrollTop | the current scroll distance from the top of the page (not Netscape or IE transitional) |



