Demo of Screen object in JavaScript
Source code is here.
<script language=javascript>
document.writeln("width = " + screen.width + "<br>");
document.writeln("height = " + screen.height + "<br>");
document.writeln("availWidth = " + screen.availWidth + "<br>");
document.writeln("availHeight = " + screen.availHeight + "<br>");
document.writeln("pixelDepth = " + screen.pixelDepth + "<br>");
document.writeln("colorDepth = " + screen.colorDepth + "<br>");
//document.write(document.body.clientHeight);
</script>
← Window Object
Bookmark a page → Redirect Page →
← Subscribe to our YouTube Channel here
This article is written by plus2net.com team.
plus2net.com