Visitor’s Browser Window Display Area

To know the available display area in a visitors browser excluding the pixels occupied by the toolbars and other add-ons on the users browser use the following javascript code.

<script type="text/javascript">
availArea_width = screen.availWidth;
availArea_height = screen.availHeight;
* Screen.Width and Screen.Height will return the resolution of the users monitor.