The onmove event

Click the DIV and move it around the screen. The onmove event fires as the DIV moves and the x and y coordinates reflect the current position of the DIV.

Current Object:
X delta: n/a
Y delta: n/a

Movable DIV



[Right-click and choose View Source from the shortcut menu.]

© 2007 Microsoft Corporation. All rights reserved. Terms of use.