Hi, I have a canvas that reacts to mousedown and mousemove. Once I click the canvas I want to track the cursor wherever it goes, including outside the browser.
Setting window.onmousem ove only gives events inside the browser of course. I tried window.captureE vents which works on Safari but FireFox says it's deprecated. Mozilla's docs say to use window.addEvent Listener but the behavior is the same: in Safari I can drag outside the window and get mousemove events, FireFox only inside the window.
Is there a way to do this? Is this behavior supported or is Safari an oddball?
-lazarus
Setting window.onmousem ove only gives events inside the browser of course. I tried window.captureE vents which works on Safari but FireFox says it's deprecated. Mozilla's docs say to use window.addEvent Listener but the behavior is the same: in Safari I can drag outside the window and get mousemove events, FireFox only inside the window.
Is there a way to do this? Is this behavior supported or is Safari an oddball?
-lazarus
Comment