|
Great article on dragging, thanks a lot. There's a problem when the SVG is embedded in a html page: the coordinates returned from evt.clientX seem to be out by about 50 (strangely the clientY seems to be right!). Any ideas on how to find out dynamically what this offset is so that it can be allowed for in the rest of the code?
Thanks
Steve Clay
|