当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > HTML DOM bufferDepth 属性
The bufferDepth property sets or returns the bit depth of the color palette in the off-screen bitmap buffer.
设置或获取用于画面外位图缓冲颜色的每像素位数。
screen.bufferDepth=number |
<html> <body> <script type="text/javascript"> document.write("<p>Buffer Depth: ") document.write(screen.bufferDepth + "</p>") </script> </body> </html> |
Detect details about the client's screen
探测出客户端所用显示屏的详细信息