[svg-developers] Drag more then ONE objects together or groups

2010-11-24 Thread Mr Rauf
I am working on a SVG web application & having a tough time figuring this one out. The functionality I want to achieve allows the user to draw (with the mouse) a rectangle around objects already placed on the screen. When two or more objects are under this drawn rectangle, they get grouped toge

RE: [svg-developers] Drag more then ONE objects together or groups

2010-11-24 Thread Chris Peto
Hi, But with what code are you having trouble? Regards, Chris From: svg-developers@yahoogroups.com [mailto:svg-develop...@yahoogroups.com] On Behalf Of Mr Rauf Sent: Donnerstag, 25. November 2010 07:13 To: svg-developers@yahoogroups.com Subject: [svg-developers] Drag more then ONE obje

RE: [svg-developers] Drag more then ONE objects together or groups

2010-11-24 Thread Chris Peto
Hi, In the first place your "bar" is already loaded, so it won't fire "load". This is the way I do it: You have an svg with objects: - You make mousedown/mousemove/mouseup global handlers (usually it is best to make a rectangle in the background of the whole screen so that these will f

RE: [svg-developers] Drag more then ONE objects together or groups

2010-11-24 Thread Chris Peto
correction In the first place your "oo" is already loaded, so it won't fire "load". From: svg-developers@yahoogroups.com [mailto:svg-develop...@yahoogroups.com] On Behalf Of Chris Peto Sent: Donnerstag, 25. November 2010 08:51 To: svg-developers@yahoogroups.com Subject: RE: [svg-developers]