Pages

Monday, 23 April 2012

JavaScript Mouse Events

JS Mouse events are those associated with some mouse activity by user. The programmer can tell the browser what to do when that event occurs.
Events are captured and subsequent actions defined using JavaScript Functions. If you do not have a concept of what functions are, it is recommended that you first take a look at lesson on JavaScript Functions - Click Here

JS OnMouseOver Event

The event occurs when mouse is pointer is moved over a certain object (to which the onmouseover command has been applied).
Example

S OnMouseOut Event


JS OnMouseDown Event


JS OnMouseUp Event


JS OnMouseMove Event



No comments:

Post a Comment

Thank you for your valuable comment