1
00:00:00,390 --> 00:00:05,600
Another event that can be used to trigger actions is the mouse down event.

2
00:00:05,610 --> 00:00:10,920
In this example we can see that an alert message appears as soon as the mouse button is pushed down

3
00:00:18,880 --> 00:00:23,890
the code block for this action is almost identical to the others we've looked at so far.

4
00:00:23,890 --> 00:00:30,810
The only difference is that we've updated the event to most down.

5
00:00:30,940 --> 00:00:41,230
You can see that this event will affect the element with IDP one an IDP one is located over here and

6
00:00:41,230 --> 00:00:52,920
contains this a paragraph of text similar to mouse down we also have mouse up.

7
00:00:52,960 --> 00:01:00,190
This will trigger the action as soon as we let go of the mouse button after clicking so if we save the

8
00:01:00,190 --> 00:01:04,150
page and refresh.

9
00:01:04,370 --> 00:01:12,470
Now the pop up appears after we've clicked and fully let go of the mouse button.
