Mega Code Archive

 
Categories / JavaScript DHTML / Ajax Layer
 

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 down) event.  I modified the example so it works with Mozilla too, for<BR>comparison.  It seems Mozilla doesn't like numeric status, takes only<BR>string, doesn't auto-convert, and requires the window.status.  I did not<BR>observe any dropped clicks in Mozilla. Solution for IE is to use onmouseup </body> </html>                     dynapi.zip( 791 k)