Thanks  Stevens

 There's a great example of how this is done at the wiki:
 http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo


So, in Rails

View:
-------
part 1:
        <ul>
            <li>
                    <span class="my_handle">****</span>    <<<--------- HERE
                    more stuff here that cannot be used as dragging handle
            </li>
            ...
        </ul>

part 2:

      <%= sortable_element 'sortable_list',
             :handle => "my_handle" ,   <<< ---------------- AND HERE
             ...   %>


_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to