This method will translate a window across the screen. Positive values move the window to the right and down while negative values move the window to the left and up.
There are some security implications for moving windows in Netscape 4. They are intended to stop you hiding a window by shifting it off-screen. Your script will need to be granted the UniversalBrowserWrite privilege to allow it to move the window outside the screen area.
Prev | Home | Next |
Window.menubar | Up | Window.moveTo() |
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. |