Hi all

I'm using Interface Sortables to order some divs (items) which are nested 
within other sortable divs (containers). Everything works except when I apply 
"containment: 'parent'" to the sortable items. By applying this I'd like the 
items to be restricted to their parent container div but I get strange results 
with items jumping to the top container instead. Without applying 
"containment:'parent'" I can move items between containers which is not what I 
want.

To test a theory, I tried using unique class names on the div that surrounds 
each set of items (the div that has the .Sortable function attached) and 
creating a unique .Sortable function for each class but even then I get roughly 
the same result.

Just to be clear, sorting the container divs works fine - it's just the nested 
items that I'm having trouble with.

I've put up examples to help explain and I'd be very grateful of any ideas on 
how to fix it.

Items without containment: http://www.mm-webs.com/sandbox/sorted.html
Items with containment: http://www.mm-webs.com/sandbox/sorted2.html

Many thanks

Gareth

Reply via email to