Hey - does anyone know how to put a dotted lined around the target
drop point using the sortable_element? For example - those that use
iGoogle - if you move your modules around you will see the target drop
points noted with a dotted line before you actually release the mouse.
Here is my code:
<ul id="user_list">
<% for user in @all_users %>
<li style="cursor: move" id="user_<%= user.id
%>"><%= user.name
%></li>
<% end %>
</ul>
<%= sortable_element ''user_list'',
:url => {:action =>
''sort_user_list'' },
:scroll => ''window'' %>
Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---