Attributo bufferDepth dell'HTML DOM

Definizione e uso

L'attributo bufferDepth imposta o restituisce la profondità di bit del tavolo di colori nel buffer bitmap fuori schermo.

Sintassi

screen.bufferDepth=number

Esempio

<html>
<body>
<script type="text/javascript">
document.write("<p>Profondità Buffer: ")
document.write(screen.bufferDepth + "</p>")
</script>
</body>
</html>