]> Something Witty Goes Here

codedread

Dragging in SVG, Part Two

January 2nd, 2006

First Post of 2006! This is now officially a multi-year blog. ;)

I decided to take my own advice at the bottom of this article and update my JavaScript dragging technique to be more generic and library-like so that it’s theoretically easy to make SVG entities draggable. It’s done now and you can see the results on this demo (works only in Firefox 1.5 and Internet Explorer + Adobe SVG Viewer). I’ve included some nested objects so you can see how they move when they are dragged.

Draggable SVG Library Demo


Leave a Reply

This is the captcha image, please contact me if you cannot see it

codedread codedread