-
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
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
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)
@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
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
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
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
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:
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
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
10 matches
Mail list logo