So, could anyone tell me why this isn't working?
I think the code is self explanatory, but for those that don't want to do the jump, I'm trying to understand the events object. I just need the mouse's current location (I know the problems with IE and Fx, I'll do that later, I just wanna make it work in Fx for now).
Thanks.
May 21 2008, 16:45:54 UTC 4 years ago
var o = document.getElementById('judge-req-recorder'); o.onmousedown = function(e){ if (document.all) alert(window.event.offsetX); else alert(e.offsetX); }window.event.offsetX - this for IE
offsetY - for y coordinate
May 24 2008, 12:27:21 UTC 4 years ago