Hi all,

i have problems using the MochiKit.DragAndDrop interface.

I would like to drag and drop an element on a certain area.
When the element is droped outside this area it should revert
to the origin, inside it should stay there.

When i set

'revert' : true

as on option to the draggable, jumping back to the origin works.
But how do i avoid reverting, when the element is dropped on the
target area?

I tried something like setting

'revert': false

in the "ondrop" handler, but this did not work.

Thank You for any help!

Helmut




--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to