Moving the browser window usually won't cause any problems. However, if you have some window content that you want to position relative to the screen, or if you want to locate the window at a specific location, perhaps locating it on a grid, this event may be useful.
The event is triggered when a window is moved on the screen to another location.
The handler is registered by defining it with an HTML tag attribute or by assigning a handler function to the property.
The event is also triggered when a window is moved under control of a script with the moveTo() or moveBy() methods.
Prev | Home | Next |
onMouseUp | Up | onPaste |
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. |