[mochikit] drag and drop, rubberband/resize/stretch example, cleanup question.

2006-08-14 Thread ericwaldheim
Here's another small drag and drop example. Since it creates the Draggable on-the-fly, it also needs to clean-up the Draggable on-the-fly, even if updateDrag does not get called and thus the endeffect does not get called. So it connects to mouseup even without an active draggable. Is there a

[mochikit] on-the-fly DD element creation problem

2006-08-10 Thread ericwaldheim
I am creating a Draggable element *after* the mousedown event that starts the drag. In this example, when I mousedown and mousemove in the container div to create the Draggable div, the Draggable div is created and drags but it appears at document coords 0,0 instead of under the mouse. Any