This is the code I use. Moving parts from left to right is fine. When
dragging right to left, a rows gets picked up and starts moving but
target does not allow it to drop. Both lists are prepopulated with some
rows. I flipped sides and problem persisted. I am on scriptaculous
1.6.2. Confimed on Firefox/Linux and IE6/Windows. Any ideas?
<table><tr>
<td style="width:50%">
<ul id="ulselected" style="overflow-y: scroll; overflow-x: hidden;
height: 300px; ">
<% selected_products.each do |prod| %>
<li id="s<%= prod.id %>"> <%= prod.name %> </li>
<% end %>
</ul>
<%= sortable_element "ulselected", :containment =>
["ulselected","ulall"], :constraint => false %>
</td>
<td>
<ul id="ulall" style="overflow-y: scroll; overflow-x: hidden;
height: 300px;">
<% (all_products-selected_products).each do |prod| %>
<li id="a<%= prod.id %>"> <%= prod.name %> </li>
<% end %>
</ul>
<%= sortable_element "ulall", :containment =>
["ulall","ulselected"], :constraint => false %>
</td>
</tr></table>
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---