Content Menu

Home-What is JavaScript?

JavaScript tutorials

1. JavaScript Basics

2. JS Simple Coding

3. JS InterActive Content

4. Images and JS

5. JS Functions

6. JavaScript Events

7. JS Conditional

8. JS Loops

9. Other

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