开发者

Detecting a position of a cursor over iLayer or frame?

开发者 https://www.devze.com 2023-02-15 23:42 出处:网络
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?

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

精彩评论

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