mercredi 24 juillet 2013

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

javascript image
JS OnMouseOut Event


JS OnMouseDown Event


JS OnMouseUp Event


JS OnMouseMove Event

Aucun commentaire:

Enregistrer un commentaire