It's interesting, here's some comments:
* The hack with snap (and the drag_x/drag_y variables) is not very
good. You should use getElementPosition(draggable.element,
$('container')) in onchange and remove the snap option.
* For the endeffect option, I really don't know. The best is to try
with a memory tracker and see what happens.
* I don't really see the point of D&D for this example. You don't use
Droppable and you destroy the draggable very quickly. I think it might
not be the good thing for this. Have you looked at the draggable
example using Signal ? It's pretty simple and thus very customizable.
--
Thomas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---