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.
加载中,请稍侯......
精彩评论