Window.setResizable() (Method)

Enable or inhibit the window resize capability.


JavaScript - 1.2
Netscape - 4.0
Property/method value type:undefined
JavaScript syntax:NmyWindow.setResizable(aSwitch)
Argument list:aSwitchA Boolean value to control the functionality

This provides a way to allow or deny user access to window resizing facilities.

This switches the resize feature on and off, which is something you can control in new windows you create with the open() method when you specify the resizable feature.

Your script needs UniversalBrowserWrite privileges to use this method.


See also:UniversalBrowserWrite