Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Event Handlers
EVENT HANDLER: onMouseMove
onMouseMove
= myJavaScriptCode
Event handler for no objects as default.
The
onMouseMove
event handler is used to execute specified Javascript code whenever the mouse is moved.
onMouseMove
uses the following properties of the
Event
object: Because MouseMove events occur so often, it is not a default event of any object. To use this event type wth an object you must explicitly set the object to capture MouseMove events.
type
- indicates the type of event.
target
- indicates the target object to which the event was sent.
layerX, layerY, pageX, pageY, screenX, screenY
indicate the cursor location at the time of the MouseMove event.
which
- 1 represents a left mouse click and 3 a right click.
modifiers
- lists the modifier keys (shift, alt, ctrl, etc.) held down when the MouseMove event occurs.
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information