Link.onMouseDown : a link : HTML Tags JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » HTML Tags » a link »

 

Link.onMouseDown







The onMouseDown event handles the event when the mouse button is pressed down while the mouse pointer is over the link.












<html>
    <head>
    <title> Using the onMouseDown event handler of the Link object</title>
    </head>
    <body>
    Click the mouse button while the cursor is on the link.
    <form name="form1">
    <a href=http://www.navioo.com
    onMouseDown='alert("The mouse button was pressed DOWN.")'>
    http://www.navioo.com</a>
    <br><br>
    </form>
    </body>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo HTML Tags
» a link