JavaScript Reference/Javascript Properties/offScreenBuffering — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 08:21, 26 мая 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