Return to Snippet

Revision: 18825
at October 9, 2009 11:03 by rwczippy


Initial Code
<script  type="text/javascript" language="JavaScript">
document.write("screen width = " + screen.width + "px.<br>");
document.write("screen height = " + screen.height + "px.<br>");
document.write("browser width = " + document.documentElement.clientWidth + "px.<br>");
//document.write("browser width is " + document.body.clientWidth	 + "px.<br>");
document.write("browser height = " + document.documentElement.clientHeight + "px.<br>");
//document.write("browser height is " + document.body.clientHeight + "px.<br>");
</script>

Initial URL

                                

Initial Description
pretty basic; dimensions of screen and browser display window

Initial Title
JS screen & browser dimensions

Initial Tags
javascript, DOM

Initial Language
JavaScript