Thanks,
Jerason
On Mon, Dec 15, 2008 at 5:00 AM, Richard Heyes <richard.heyes@...> wrote:
Hi,
I'm having severe trouble getting the mouse coords when a canvas is
colicked on AND it's nested within a table. I've setup an example to
illustrate the issue here:
http://dev.rgraph.org/
The top graph is within a table, and when you click on it, it shows
you the position of the mouse pointer (which seems fine), and the
offsetLeft of the canvas, which is coming up as 1. Clearly it
shouldn't be. I need the position of the canvas on the page, or the
position of the mouse relative to the canvas. The bottom graph is not
in a table, using a DIV for positioning, and this is fine.
Thanks for any help.
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated December 5th)