Javascript OnMouseDown
When you click the left mouse button, this calls the javascript onmousedown event. This can be useful if you want to call separate functions or actions when the user clicks on a particular part of the page.
It's often used in association with an image, for example:
You can also use onmousedown for anywhere on the page, by inserting it into the body tag, as follows:
or you could use it to call a separate function:
Select All Code
|
|
|
Useful Links

|
|