If you make two Sortable lists, and set their containment to contain  
each other:

containment: ['list_a','list_b']

Then you may drag from one into the other, and the drop will happen  
where you like within the list. This removes the item from list_a and  
puts it into list_b, note. There are ways you can simulate a "never- 
ending-supply of list_a elements" with ghosting and onDrop functions,  
but it's a whole lot of work.

Walter

On Apr 3, 2009, at 7:09 AM, lun.ashis wrote:

>
> Scriptaculous is pretty good scripts to use. I have come across with
> one problem on draggable and sortable. I am trying to add draggable
> element on sortable list. While adding the draggable item it
> automatically appends to the end of the sortable list but I don't want
> to do that. I want to add the draggable elements anywhere i like to on
> Sortable list.
> I have tried to do so but couldn't . Let me know if you have come
> across this problem.
>
>
> Thanks in advance.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to