Mouse Click Speed Test (IE) : Mouse : Ajax Layer JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Ajax Layer » Mouse »

 

Mouse Click Speed Test (IE)




http://dynapi.sourceforge.net/
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
<html>
<head>
<title>Mouse Click Speed Test (IE)</title>
<script language="Javascript">


</script>
</head>
<body bgcolor="#FFFFFF">

<script>

var c = 0;
function clickspeed() {
  status=c++;
}

</script>
<div style="width:100;height:100;background-color:yellow" onmouseup="clickspeed()"></div>

When clicking extremely fast, IE seems to miss about<BR>every
other click (or mouse downevent.? modified the example so it works with Mozilla too,
for<BR>comparison.?t seems Mozilla doesn't like numeric status, takes
only<BR>string, doesn't auto-convert, and requires the window.status.? did
not<BR>observe any dropped clicks in Mozilla.

Solution for IE is to use onmouseup
</body>

</html>


           
       

Download : Download nav_dynapi.zip nav_dynapi.zip


-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Ajax Layer
» Mouse