Hi, I have a simple drag and drop interface, I was wondering does
anyone know how to apply a delay time for a draggable to revert, I want
them to revert to their original position but after a delay time

at the moment I have this:
new Draggable('drag_oject1', {revert:true});

the above makes the draggable revert immedialty on drop.

I want something like this:
new Draggable('drag_oject1', {revert:function(){delay:500; return
true}});

but that doesnt work as I expected, it just applys the delay to the
start of the drag action.
Im still fairly green on javascript in general so any help would be
appreciated!


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to