jquery跟踪鼠标

$(function(){
        $(document).click(function(event){
            alert('x:'+event.clientX+',y:'+event.clientY);    //客户端横坐标和纵坐标
        })
    })

posted @ 2013-04-01 16:38  忆殇之痕  阅读(101)  评论(0编辑  收藏  举报