HTML DOM pixelDepth Property
Complete Screen Object Reference
Definition and Usage
The pixelDepth property returns the color resolution (in bits per pixel) of the
display screen.
Syntax
Example
<html>
<body>
<script type="text/javascript">
document.write("<p>Pixel Depth: ")
document.write(screen.pixelDepth + "</p>")
</script>
</body>
</html>
|
Try-It-Yourself Demos
Detect details about the client's screen
Complete Screen Object Reference
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|