returning dragged element when using sortables

0 views
Skip to first unread message

Jeremy

unread,
May 12, 2008, 3:54:39 PM5/12/08
to Ruby on Rails: Spinoffs
I'd like to use a visual effect on only the moved (dragged) element of
a sortables list. How do I return the id of the dragged element?

Tom Gregory

unread,
May 12, 2008, 4:01:09 PM5/12/08
to rubyonrail...@googlegroups.com
See http://github.com/madrobby/scriptaculous/wikis/draggables-object

Also, take a look at the SortableObserver object in dragdrop.js, which
uses the same observer functions described in the above link.


TAG

Reply all
Reply to author
Forward
0 new messages