Hi Gareth,
Thanks for chipping in!

This sounds like we are doing very similar things. In my case I'm
going to have a confirm box saying "Are you sure you want to drag this
item here?", and if not I'll move the item back.

I assume the reverteffect mothod is what you're talking about?

function(element, top_offset, left_offset) {
        var dur =
Math.sqrt(Math.abs(top_offset^2)+Math.abs(left_offset^2))*0.02;
        new Effect.Move(element, { x: -left_offset, y: -top_offset, duration:
dur, queue: {scope:'_draggable', position:'end'}});
}

I'm doing pretty much the same thing at the moment, but what I can't
fire out is how to intercept the automatic behaviour when the
draggable is dropped.

Any ideas on how to do that?


--~--~---------~--~----~------------~-------~--~----~
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