Hi, everyone!
How to use JSP or Javascript to get resolution rate
(for example, 800*600, 1024*768, ... )?
Cheers,
George
Printable View
Hi, everyone!
How to use JSP or Javascript to get resolution rate
(for example, 800*600, 1024*768, ... )?
Cheers,
George
JS :
Code:<script type="text/javascript">
<!--
var iResWidth = screen.width;
var iResHeight = screen.height;
alert("Your resolution is : "+ screen.width +"x"+ screen.height +".");
// -->
</script>
Thanks, your codes works nice!