Given a DOM element "dragger" that has been successfully made Draggable
(and is able to be dragged around successfully with the mouse), I'm
trying to signal the element "dragger" to start dragging (as if I had
just mousedown'd manually with the mouse) when I perform an arbitrary
event. In other words, imagine if the "dragger" div was on the page and
I clicked an < input > button, when I move the mouse "dragger" would
move around as if I had just click-held on it.

How can this be done? DragAndDrop.js indicated that it's registering
events with onmousedown, onmousemove, onmouseup and onkeypress using
MochiKit.Signal.

MochiKit.DOM.getElement("dragger").onmousedown() doesn't appear to be a
valid function and MochiKit.Signal.signal("dragger","onmousedown")
doesn't appear to do anything either. Even signal()'ing the
MochiKit.DragAndDrop.Draggables.drags[direct_index_to_dragger] doesn't
do anything or errors out.

Anybody have any idea how to accomplish this?

Thanks!

-Kevin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to