Hi all
From the Rails Recipes book I borrowed the sortable element recipe:
<ul id="bilder_list">
<% bilder.each do |bild| %>
<li id="item_<%= bild.id %>">
<%= bild.name %>
</li>
<% end %>
</ul>
<%= sortable_element ''bilder_list'',
:url => { :action => "sort", :id => params[:id] },
:complete => visual_effect(:highlight, ''bilder_list'')
%>
Now I''d really like to do the same with a table instead of a list... is
this possible?
Thanks,
Josh
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---