Re: [svg-developers] Drag and Drop for groups

2005-02-06 Thread Burkhard Stollenwerk
- From: Doug Schepers [EMAIL PROTECTED] To: svg-developers@yahoogroups.com Sent: Friday, February 04, 2005 1:56 PM Subject: RE: [svg-developers] Drag and Drop for groups Thanks for the kind words, Philippe. As you said, it's a pretty trivial problem, unless I'm misunderstanding something. I

RE: [svg-developers] Drag and Drop for groups

2005-02-06 Thread Doug Schepers
PM | Subject: RE: [svg-developers] Drag and Drop for groups | | | | | Thanks for the kind words, Philippe. | | As you said, it's a pretty trivial problem, unless I'm | misunderstanding something. I made a slight alteration to | my sample, | to show how to move | groups: | | http://svg

Re: [svg-developers] Drag and Drop for groups

2005-02-06 Thread Burkhard Stollenwerk
for example: script file: function ClickObj(evt) { } function MoveObj(evt) { } function OutClickObj(evt) { } getURL(stallp.php,callback_get_tiere); function callback_get_svg(urlRequestStatus) { new_node=cb_parse(urlRequestStatus); child=svgdoc.getElementById(map)

Re: [svg-developers] Drag and Drop for groups

2005-02-06 Thread Burkhard Stollenwerk
@yahoogroups.com | Sent: Friday, February 04, 2005 1:56 PM | Subject: RE: [svg-developers] Drag and Drop for groups | | | | | Thanks for the kind words, Philippe. | | As you said, it's a pretty trivial problem, unless I'm | misunderstanding something. I made a slight alteration

Re: [svg-developers] Drag and Drop for groups

2005-02-04 Thread =?ISO-8859-1?Q?J=E9r=F4me_Tricand_de_la_Goutte?=
Jéróme, can you give me a example about this? Burkhard - Original Message - From: Jérôme Tricand de la Goutte [EMAIL PROTECTED] To: svg-developers@yahoogroups.com Sent: Thursday, February 03, 2005 10:31 AM Subject: Re: [svg-developers] Drag and Drop for groups Hi Burkhard Just put your

Re: [svg-developers] Drag and Drop for groups

2005-02-04 Thread Philippe Lhoste
Jérôme Tricand de la Goutte wrote: hello Burkhard. I don't have too much time now, i'm sorry The main issue for this problem is handling the mouse. You must detect onmousedown event, memorize it and the object on which you've clicked, then react to onmousemove by moving the object, until

RE: [svg-developers] Drag and Drop for groups

2005-02-04 Thread Doug Schepers
Thanks for the kind words, Philippe. As you said, it's a pretty trivial problem, unless I'm misunderstanding something. I made a slight alteration to my sample, to show how to move groups: http://svg-whiz.com/svg/DragAndDropGroup.svg Regards- Doug doug . schepers @ vectoreal.com

Re: [svg-developers] Drag and Drop for groups

2005-02-03 Thread Burkhard Stollenwerk
you could see application at www.futurefarm.de/kuh2005/stallp.php Burkhard - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to:

Re: [svg-developers] Drag and Drop for groups

2005-02-03 Thread =?ISO-8859-1?Q?J=E9r=F4me_Tricand_de_la_Goutte?=
Hi Burkhard Just put your mouse events declaration on the group and not on the rect or text. Then, use evt.currentTarget to get the group and apply translation to the group. Hope it helps Jérôme Tricand de la Goutte Société Logatique 50 rue Marcel Dassault 92100 Boulogne-Billancourt 01 46

Re: [svg-developers] Drag and Drop for groups

2005-02-03 Thread Burkhard Stollenwerk
Thanks Jéróme, can you give me a example about this? Burkhard - Original Message - From: Jérôme Tricand de la Goutte [EMAIL PROTECTED] To: svg-developers@yahoogroups.com Sent: Thursday, February 03, 2005 10:31 AM Subject: Re: [svg-developers] Drag and Drop for groups Hi Burkhard