is there already a solution on this topic?
I have a similar problem, but i use three sortable lists. After
dragging a item from list 3 to one of the others, the item sould stay
in list 3. I have a sample on http://www.i-cons.ch/sample/list/

Thanks
Chrigu

On 19 Aug., 00:51, Georgie Porgie <[EMAIL PROTECTED]> wrote:
> Yeah, that would be nice. It is weird that this isn't an option in
> scriptaculous. Perhaps just have an "accepts:" option that accepts
> draggables into it. Currently, you can drag items into asortablelist
> using the "containment" option. However, that requires that the
> draggables be part of anothersortablelist(which isn't what I want to
> do). Again, I think many people want to have this "trivial"
> functionality.
>
> On Jul 29, 2:47 pm, pkaeding <[EMAIL PROTECTED]> wrote:
>
> > Would that allow the items in theSortableto move around, giving the
> > visual indication of where the new element is going to go?
>
> > It seems to me that this might be a pretty common thing for people to
> > want to do withSortablelists, and perhaps it should be a part of
> > Scriptaculous.  Perhaps we could add a 'feeder' option, or something,
> > to specify a container of dropppables that would 'feed' thesortable.
> > I would propose doing something like how I overrodeSortable.onHover
> > in my first post above, but in a more general, customizable form.
>
> > I feel like I could take this on, and submit a patch if you guys think
> > this is the right direction to go.
>
> > Thoughts?
>
> > Thanks,
> > Patrick
>
> > On Jul 17, 5:16 pm, Diodeus <[EMAIL PROTECTED]> wrote:
>
> > > I understand what you're trying to do.
>
> > > You could set a "lastHover" variable and attach your own mouseover
> > > events to the elements insortablethat set this variable to their
> > >sortindex value. Then at the end of the drop function you could use
> > > setSequence to place the newly created element at the location of
> > > "lastHover". At least that's the theory.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to