resizeTo
Description
Using this method you can define the size of a lookup dialog.
This method is used when configuring a lookup. Lookups are dialogs that open in an iframe when users need to access an external source ofsimpleType elements. For example, you could define a lookup to enable users to choose and insert the source (src) for an image from an external library.
Example
The following example uses the resizeTo method to configure a lookup dialog to have a width of 420 pixels and a height of 550 pixels.
top.resizeTo(420, 550);
Syntax
top.resizeTo (width: Integer, height: Integer)
Arguments
- width
-
Integer. The width of the dialog in pixels. - height
-
Integer. The height of the dialog in pixels.