Fires for the moveable behavior when the user continuously drags an element.
Syntax
XML <Prefix:CustomTag ID = sID STYLE="behavior:url('moveable.htc')" ondrag = "handler" .../> Scripting oMoveable.ondrag = "handler"
Return Value
No return value.
Remarks
Bubbles No Cancels Yes To invoke Drag an element participating in the moveable behavior. Default action Calls the associated event handler if there is one.
Event Object Properties
Although event handlers in the DHTML Object Model do not receive parameters directly, the handler can query the event object for data.
altKey Retrieves the current state of the ALT key. cancelBubble Sets or retrieves whether the current event should bubble up the hierarchy of event handlers. clientX Retrieves the x-coordinate of the position of the cursor when the mouse is clicked, relative to the size of the client area of the window but excluding window decorations or scroll bars. clientY Returns the y-coordinate of the position of the cursor when the mouse is clicked, relative to the size of the client area of the window but excluding window decorations or scroll bars. ctrlKey Retrieves the state of the CTRL key. dataTransfer Provides access to predefined clipboard formats for use in data transfer operations. offsetX Retrieves the horizontal coordinate of the mouse's position relative to the object firing the event. offsetY Retrieves the vertical coordinate of the mouse's position relative to the object firing the event. returnValue Sets or retrieves the return value from the event. screenX Retrieves the horizontal position of the mouse, in pixels, relative to the user's screen. screenY Retrieves the vertical position of the mouse, in pixels, relative to the user's screen. srcElement Retrieves the object that fired the event. type Retrieves the event name from the event object. x Returns the horizontal position of the mouse when the event fires. y Returns the vertical position of the mouse when the event fires.
Applies To
moveable