Window.onmove (Property)

This event handler is called when a window is moved.

Availability:

JavaScript - 1.2
Netscape - 4.0
Property/method value type:Function object
JavaScript syntax:-myWindow.onmove
-myWindow.onmove = aHandler
-onmove
-onmove = aHandler
HTML syntax:<BODY onMove="aHandler"> <FRAMESET onMove="aHandler">
Argument list:aHandlerAn event handler function object

This is called when a window is moved on the screen to another location.

The handler is registered by defining it with an HTML tag attribute.

The event is also triggered when a window is moved under control of a script with the moveTo() or moveBy() methods.

Warnings:

See also:onMove, Window.moveBy(), Window.moveTo()

Property attributes:

DontEnum.