Ok, I'm hoping somebody here can help me. I'm using jQuery 1.3.2 and
UI 1.6rc6.

I've got three lists:
<ul id="list1" class="sortable">
<li class="item">Item 1</li>
<li class="item">Item 2</li>
</ul>

<ul id="list2" class="sortable item2s">
<li class="item">Item 2</li>
<li class="item">Item 3</li>
<li class="item2">Item 4</li>
<li class="item2">Item 5</li>
</ul>

<ul id="list3" class="draggable">
<li class="item">Item 6</li>
<li class="item">Item 7</li>
<li class="item2">Item 8</li>
<li class="item2">Item 9</li>
<li class="item">Item 10</li>
</ul>

List 1 and 2 are sortable lists that are linked together. List 3
contains a bunch of draggable items that the user can drag onto the
other two lists, but the original items need to stay behind (The user
should be able to drag more then one of each item onto any of the two
sortable lists).

So to put it simpler. List 1 connects to List 2 connects to List 1.
List 3 items can be "copied" onto list 1 or 2.

This is all working fine.

But, items that have the item2 class should only be allowed to be
dragged onto list 2. This is where my issue is. I can't figure out how
to prevent item2 items being added to list 1, I am guessing I need to
use one of the sortable callbacks, but I'm not sure which one.

Hope this all makes sense.

Thanks in advance
Walther

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to