开发者

Detect mouse over iframe?

I'd like call a function eve开发者_开发问答ry time a user drags their mouse over an iframe (which points to a different domain). Is this possible?


I'm guessing you already tried setting a mouseover event on the actual iframe and it didn't work. If so, you can try wrapping the iframe inside a div and set the mouseover event on that div. This has to work. In the worst case scenario make the div a little big bigger (1-2px padding) than your iframe.


Load a file into the iframe set the mouseover event on that file.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜