{"id":198,"date":"2006-01-02T16:19:24","date_gmt":"2006-01-02T22:19:24","guid":{"rendered":"http:\/\/blog.codedread.com\/?p=198"},"modified":"2006-01-02T16:19:24","modified_gmt":"2006-01-02T22:19:24","slug":"dragging-in-svg-part-two","status":"publish","type":"post","link":"https:\/\/www.codedread.com\/blog\/archives\/2006\/01\/02\/dragging-in-svg-part-two\/","title":{"rendered":"Dragging in SVG, Part Two"},"content":{"rendered":"<p>First Post of 2006!  This is now officially a multi-year blog.  \ud83d\ude09<\/p>\n<p>I decided to take my own advice at the bottom of <a href=\"http:\/\/blog.codedread.com\/archives\/2005\/12\/21\/how-to-enable-dragging-in-svg\/\" title=\"How To Enable Dragging in SVG\">this article<\/a> 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 <a href=\"http:\/\/www.codedread.com\/dragtest3.svg\" title=\"Draggable SVG Library\">this demo<\/a> (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.<\/p>\n<p><a href=\"http:\/\/www.codedread.com\/dragtest3.svg\" title=\"Draggable SVG Library\">Draggable SVG Library Demo<\/a><\/p>\n<p><script type=\"text\/javascript\" src=\"http:\/\/www.codedread.com\/googleads.js\"><\/script><br \/>\n<script type=\"text\/javascript\" src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>First Post of 2006! This is now officially a multi-year blog. \ud83d\ude09 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&#8217;s theoretically easy to make SVG entities draggable. It&#8217;s done now and you can see the [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,25,46,11,28],"tags":[],"class_list":["post-198","post","type-post","status-publish","format-standard","hentry","category-javascript","category-software","category-svg","category-technology","category-web"],"_links":{"self":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":0,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codedread.com\/blog\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}