How to Capture users Screen Resolution, window resolution, monitor resolution using javascript

DETERMINE SCREEN RESOLUTION

Javascript
Tutorials

  

DETERMINE SCREEN RESOLUTION

Learn Tutorials
How to Capture users Screen Resolution, window resolution, monitor resolution using javascript

Example code for Determine screen resolution:
<script>
var screen_width = screen.width;
var screen_height = screen.height;
</script>



<BODY MARGINWIDTH="0" MARGINHEIGHT="0" SCROLL="NO" onLoad="
if(isNS4) {
available_width=innerWidth;
available_height=innerHeight;
preLoad();
} else if(isIE4) {
available_width=document.body.clientWidth;
preLoad();
}"
onResize="history.go(0)">
This is example code for how to capture users screen resolution, window resolution, monitor resolution using javascript