Window.offscreenBuffering (Property)

A property that controls off-screen buffering effects.

Availability:

JavaScript - 1.2
JScript - 3.0
Internet Explorer - 4.0
Netscape - 4.0
Property/method value type:Boolean or String primitive
JavaScript syntax:-myWindow.offScreenBuffering
-myWindow.offScreenBuffering = aSetting
-offScreenBuffering
-offScreenBuffering = aSetting
Argument list:aSettingA new value to control this functionality

This property controls how screen updates are accomplished. This is especially useful with DHTML-based animation. An off-screen buffer is used to draw the new window contents and then copy it over the existing content when it is complete. This is much nicer to look at than the effects you get with a non-buffered redraw which clears the screen first and then draws the entire page in front of you.

The available settings are:

Boolean true - Activate off-screen buffering

Boolean false - Deactivate off-screen buffering

String "auto" - Let the browser decide for itself

In general, MSIE accomplishes slightly more attractive redraws with this facility enabled than Netscape Navigator. However, new versions of Mozilla 5 and Netscape 6 may surpass the MSIE version 5 support.

Warnings:

See also:Frame object, Window object