Reputation: 692
I have a PDF document embedded in div in a page. The page also has re-sizable regions to make one column smaller/larger than another on demand.
When re-sizing the regions, onmousemove events are not fired when the mouse is over the pdf, thus breaking a lot of the re-size functionality.
Any way to get these onmousemove events?
Thanks!
Upvotes: 0
Views: 404
Reputation: 111900
Not that I know of.
One option is to replace the embedded PDF with a placeholder (a <div>
for example, same dimensions as embedded PDF) during dragging. So, when the mousedown
event fires, hide the PDF, show the placeholder. When the user has finished dragging show the PDF again.
Upvotes: 2