IE10 Bug / Windows 8并使用帧捕获鼠标坐标 [英] IE10 Bug / Windows 8 and capturing Mouse Coordinates with Frames

查看:71
本文介绍了IE10 Bug / Windows 8并使用帧捕获鼠标坐标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 8上测试IE 10(版本10.0.9200.16599)


所以,我有一个Web应用程序,其中包含一个Asp:网页上的图像。加载该页面时,在Javascript中,我们捕获MOUSEMOVE和DBCLICK事件。在MouseMove上,EventArgument(e).X和e.Y似乎具有无效坐标。左上角
应该是0,0,但它分别从-230和-140开始。


我见过一个类似的论坛,其中原版有一个bug一些微软的更新解决了这个问题,但它似乎没有在我的场景中解决这个问题。


如果网页是自己加载的,那么行为似乎工作得很好。


但是,该页面加载到IFRAME中,并成为更大页面的一部分。 "IFRAME页面"上的事件似乎功能很好,但是,当捕获MOUSE MOVE事件的X和Y坐标时,它们似乎是不正确的。

解决方案

您好,


请提供指向经过验证的样本的链接。 THX。


I'm testing on Windows 8 with IE 10 (version 10.0.9200.16599)

So, I have an web application that contains an Asp:Image on a web page. When that page loads, in Javascript, we capture the MOUSEMOVE and DBCLICK events. On the MouseMove, the EventArgument (e).X and e.Y appear to have invalid coordinates. The upper Left should be 0,0, but it starts out at -230 and -140 respectively.

I've seen a similar forum where the original version had a bug and some microsoft updates addressed the issue, but it hasn't seemed to address the issue in my scenario.

If the webpage is loaded by itself, then the behavior seems to work just fine.

But, that page is loaded in an IFRAME and made part of a larger page. The events on the "IFRAME Page" seem to function just fine, however, when capturing the X and Y coordinates of the MOUSE MOVE event, they appear to be incorrect.

解决方案

Hi,

Please provide a link to a validated sample. thx.


这篇关于IE10 Bug / Windows 8并使用帧捕获鼠标坐标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆