onmouseover:在刚进入区域时,移动鼠标触发。onmousemove: 除了刚进入区域触发外,在区域内移动鼠标,也会触发该事件。
i see what you want is .mousemove(funciton(){this your function;})
$(document).mouseover(function(){ alert('moved');});