Bill,
I got this working without issue.

<ul id="List_Top">
   <li id="dept_6"><span class="handle">dept name</span></li>
   <li id="dept_16"><span class="handle">dept name</span></li>
   <li id="dept_18"><span class="handle">dept name</span>
       <ul id="List_depts">
           <li id="dept_1"><span class="handle">dept name</span></li>
           <li id="dept_2"><span class="handle">dept name</span></li>
           <li id="dept_3"><span class="handle">dept name</span></li>
           <li id="dept_5"><span class="handle">dept name</span></li>
           <li id="dept_4"><span class="handle">dept name</span></li>
       </ul></li>
   <li id="dept_8"><span class="handle">dept name</span>
       <ul id="List_other_dept">
           <li id="dept_9"><span class="handle">dept name</span></li>
           <li id="dept_10"><span class="handle">dept name</span></li>
           <li id="dept_11"><span class="handle">dept name</span></li>
           <li id="dept_12"><span class="handle">dept name</span</li>
           <li id="dept_13"><span class="handle">dept name</span></li>
       </ul></li>
   <li id="dept_7"><span class="handle">dept name</li>
</ul>

<script type="text/javascript">
// <![CDATA[
   Sortable.create('List_Top',{handle:'handle',constraint:false});
   Sortable.create('List_depts',{handle:'handle',constraint:false});
   Sortable.create('List_other_dept',{handle:'handle',constraint:false});
// ]]>
</script>

I've simplified it down, but that ought to give you the gist of it.

John

On 9/14/31 3:34 PM, Bill Lynch wrote:
All,

Any ideas on this? My hunch is that isn't not possible but I'm
wondering if anyone knows a trick. I tried using the handle class
section in each LI element but that didn't change anything.

Thanks,
--Bill

On 10/26/05, Bill Lynch <[EMAIL PROTECTED]> wrote:
Hello All,

I'm wondering if it's possible to nest sortables:

<ul id="first">
    <li>One</li>
    <li>Two</li>
    <li>
        <ul id="second">
            <li>Three</li>
        </ul>
    </li>
    <li>Four</li>
</ul>

<script>
  ... create sortables out of 'first' and 'second'
</script>

I played around with this already and it looks like it's not possible
but I'm wondering if there's a config option to allow this to work or
something else I'm missing.

Thanks!
--Bill


_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to