I'd like call a function every time a user drags their mouse over an iframe (which points to a different domain). Is this possible?
A:
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.
Felix
2010-06-03 18:28:24