I have an object that prints mouse positions x and y on each mousemove.
Something like that:
$('#canvas').mousemove(function(e){ $('#output').prepend(e.pageX + ',' + e.pageY); });
I noticed that when you move around an object very quickly, it only displays a few positions.
I'm not completely unhappy that he is doing this (because it would be complete enough for him to do something for all the hundreds of pixels that you crossed), but I wonder how it works.
Is the mousemove event a limited number of triggers per second or what?
(Btw: this was tested on Chromium on Ubuntu Linux)
skerit
source share