search for: drag_end

Displaying 1 result from an estimated 1 matches for "drag_end".

Did you mean: frag_end
2005 Dec 30
4
AJAX Drag and Drop Detecting Drop Coordinates
...rt => false %> That works great and lets me drag stuff all over the place. In the scriptaculous docs it states that revert can be set to a function. I tried that with something like: <%= draggable_element "my_element", :revert => remote_function( :url => { :action => drag_end }) %> That may not be exact but you get the idea. Well that called my drag_end method, but it seemed to be calling it multiple times, even when not triggered. It also didn''t give me any information on the draggable element. I even tried it with :snap which should pass in x and y, but...