开发者

Detecting a position of a cursor over iLayer or frame?

Is it possible to detect a position of a cursor over iframe or HTML frame? For example it can be done over a page with j开发者_StackOverflow中文版Query, but I am not sure over iLayer?

$(document).mousemove(function(e){
      $('#cursor').html("X Axis : " + e.pageX + "<br/> Y Axis : " + e.pageY);
})
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜