setClientSize

Sets the size of the browser's client part according to the specified values.

Syntax

setClientSize = function(aSize);

Parameters

  • aSize
    • functions: new window dimensions

Notes

  • The X and Y fields of aSize parameter determine the new width and height of the browser window, respectively.

Examples

  1. var dim = {};
    dim.x = 1050;
    dim.y = 750;
    setClientSize(dim);