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;
	</script>
	

* Screen.Width and Screen.Height will return the resolution of the users monitor.

Comments

NOTE : Comments are moderated, and will not appear until the author has approved them.
Post a Comment
  1. Leave this field empty

Required Field