Using jquery, how would I send an iframe's window mousemove events back to its parent, and the parent will see the event with the mouse coordinates mapped to it's own window? Both the iframe and parent are on the same domain.
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- How to fix IE ClearType + jQuery opacity problem i
- void before promise syntax
- jQuery add and remove delay
I solved this problem by overlaying the iframe with an absolutely positioned transparent div. This way, the parent always gets the mousemove events.