[Proto-Scripty] Re: Draggables needs remove (like Droppables)

2008-09-24 Thread Grego
; > When the element comes into your method, just reference the dragHandle > property. > > On Sep 22, 9:45 am, Grego <[EMAIL PROTECTED]> wrote: > > > I see you are talking about the onDrop callback of Droppables, which > > is documented athttp://github.com/madrob

[Proto-Scripty] Re: Draggables needs remove (like Droppables)

2008-09-22 Thread Grego
I see you are talking about the onDrop callback of Droppables, which is documented at http://github.com/madrobby/scriptaculous/wikis/droppables I was reacting to the documentation at http://github.com/madrobby/scriptaculous/wikis/draggable in which the example shows a new draggable being created

[Proto-Scripty] Draggables needs remove (like Droppables)

2008-09-18 Thread Grego
I would like to do a '.remove' of a draggable element after I drop it on a droppable item. The problem is I only have the element available at that time, and it looks like you need the element's draggable handle so that you can call '.destroy' on it. It would be better to have a '.remove' functio

[Proto-Scripty] Droppables containment limitation?

2008-09-17 Thread Grego
I am playing with draggables and droppables and it appears that the containment option on Droppables has a limitation (or feature) - namely, that you need to supply the id of the direct parent of the draggables. If you supply an id of say, the parent of the parent, then the draggable 'grandchild'