Hi,
I'm working on a drawing application which has two operations: copy
and move. The problem I am having right now is that I need to
initiate a move by pressing the "m" key rather than be clicking the
mouse and dragging it. (Similarly, pressing the "c" key will clone an
object and then start dragging it). I thought that I could use
something like this:
$(".draggable").trigger("mousedown")
...but I just can't seem to find any way that makes it actually work.
Does anyone have some suggestions? What are the chances that
a .start_dragging() method could be added to draggable objects to
programmatically initiate dragging (i.e. is there any fundamental
design problem that would prevent someone like myself from trying to
add such a method)?
Thanks in advance,
David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---