Hi,
How can I know in JavaScript the status of mouse (down, up, pressed,
etc)????
Give me examples, please.

Signature
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
Karl - 02 Sep 2004 22:00 GMT
Something like this perhaps:
<html>
<head>
</head>
<body>
<div id="Status"></div>
</body>
</html>
<script language="javascript">
document.onmousedown=mousedown;
document.onmouseup=mouseup;
var div = document.getElementById("Status");
function mousedown(){
div.innerHTML += "down<br />";
}
function mouseup(){
div.innerHTML += "up<br />";
}
</script>
Karl
> Hi,
>
> How can I know in JavaScript the status of mouse (down, up, pressed,
> etc)????
> Give me examples, please.