search for: elementtobecomedropp

Displaying 1 result from an estimated 1 matches for "elementtobecomedropp".

2006 Feb 09
3
Draggables and Droppable performance (tips)
...(!this.checking && evt && Draggables.activeDraggable) { this.checking = true; var pos = [Event.pointerX(evt), Event.pointerY(evt)]; setTimeout(function() { if (Position.within($("elementToBecomeDroppable"), pos[0], pos[1])) { Droppables.add($("elementToBecomeDroppable"), {...options...} ); //remove this listener once the droppable has been created (no longer needed) Event.stopObserving(document,...