event.layerX and event.layerY are broken and deprecated in WebKit. They will be
[code="java"]
// solution
//The temporary fix is to run this code before you do any event binding via jQuery:
//临时的解决方案,将下面这段代码放到JQuery事件绑定之前
$(document).ready(function(){
...
原创
2012-05-04 16:04:04 ·
109 阅读 ·
0 评论