resizeWindow

resizeWindow(width, height, minW, minH, maxW, maxH)

Defines the method used to change the window size updating the minimum/maximum sizes. This method is used for visual modal plugins only.

Parameters:

Name Type Description
width number

The window width.

height number

The window height.

minW number

The window minimum width.

minH number

The window minimum height.

maxW number

The window maximum width.

maxH number

The window maximum height.

Returns:

This method doesn't return any data.

Example

Copy code
window.Asc.plugin.init = function() {
    this.resizeWindow(392, 147, 392, 147, 392, 147);
};