JavaScript Reference/Javascript Properties/offScreenBuffering
Версия от 18:30, 25 мая 2010; (обсуждение)
Содержание
"offScreenBuffering" Example
<html>
<body>
<script language="JavaScript">
function function1() {
window.offScreenBuffering = false;
var m = window.offScreenBuffering;
alert("The value of offScreenBuffering for this window is: \n"+m);
}
</script>
<input type="Button"
value="Turn "off" the offScreenBuffering of this window"
onClick="function1();">
</body>
</html>
"offScreenBuffering" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |window |
+----------------+--------------------------------------------------------------+
"offScreenBuffering" Possible Values
Possible Values
true
false
auto (the default).
"offScreenBuffering" Syntax and Note
Note:
Read and write property.
Rendering in off Screen Buffering?
Syntax:
window.offScreenBuffering = value