The window size will be altered to the horizontal and vertical values specified in the two parameters. The left and top edges will stay in the same place but the right and bottom edges will be adjusted to reflect the new width and height.
There are some security implications for resizing windows in Netscape 4. This is to prevent you hiding a window by making it too small.
Your script will need to be granted the UniversalBrowserWrite privilege to allow it to set the window size to less than 100x100 pixels.
Prev | Home | Next |
Window.resizeBy() | Up | Window.returnValue |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |