I'm also interested in a solution for this. Did maybe somebody find one? On Apr 6, 7:14 am, "rai.ashis" <ashis....@gmail.com> wrote: > Yeah the containment can be use to do so but as you have told the whole > element is replaced and i don't want to do that. > > I just want to make draggable element that can be droppable on sortable list > where ever i wish to drop it in any position of the list index. > > If you have any idea that will be helpful to me. > > Thanks > > On Fri, Apr 3, 2009 at 6:36 PM, Walter Lee Davis <wa...@wdstudio.com> wrote: > > > > > > > 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. > > -- > Ashis Rai > Sundhara, Kathmandu, Nepal > P.O Box No: 12434
--~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---