I found this to be handy for the application I''m writing: --- src/dragdrop.js (revision 6451) +++ src/dragdrop.js (working copy) @@ -293,6 +293,14 @@ Event.stopObserving(this.handle, "mousedown", this.eventMouseDown); Draggables.unregister(this); }, + + newHandle: function(element) { + Event.stopObserving(this.handle, + "mousedown", this.eventMouseDown); + this.handle = element; + Event.observe(this.handle, + "mousedown", this.eventMouseDown); + }, The function is part of Draggable for those not keen on adding it as a patch. -- David N. Welton - http://www.dedasys.com/davidw/ Linux, Open Source Consulting - http://www.dedasys.com/ --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---