摘要: 用javascript获取鼠标位置:function mousePosition(ev) { if (ev.pageX || ev.pageY) { return { x: ev.pageX, y: ev.pageY }; } return { x: ev.clientX + document.body.scrollLeft - document.body.clientLeft, y: ev.... 阅读全文
posted @ 2009-12-09 16:50 神龙升空 阅读(2865) 评论(0) 推荐(0)