$(document).on('mousemove',?'div.photo',?function(event)?{
????????var?$text='X:?'+event.pageX+'?||?'+'Y:?'+event.pageY;
????????console.log($text)
????});
如何改進jquery的mousemove處理程序,使得在鼠標移進圖片時每秒鐘最多記錄5次位置信息?
UncleKeith
2016-05-23 20:38:12