Never mind. The answer has to do with jQuery's $().offset() function.
I got it.

On Feb 21, 12:05 pm, timothytoe <[EMAIL PROTECTED]> wrote:
> How do I get the position of a mouse within a div when I'm getting
> events from mousemove? If it helps, I'm already including
> dimensions.js for the myriad extensions that want it. I understand
> that I can get pageX or clientX but what I want is X inside that DIV
> where I have mousemove tracking on..
>
> I want to make sure I'm getting (0,0) rock solid in the upper left
> corner of that div in all cases.

Reply via email to