[jQuery] Re: Drop event

2007-06-27 Thread Michael Fuerst
Erik Beeson schrieb: > Also, it looks like the current position is stored internally in the > Draggable somewhere. Maybe try one of these: > dropped.dragCfg.currentPointer.x > dropped.dragCfg.nx > dropped.dragCfg.nRx > Thanks Erik! "dropped.dragCfg.currentPointer.x" works like a charm. It's the p

[jQuery] Re: Drop event

2007-06-26 Thread Erik Beeson
That's just the position of the draggable (which you've called 'droppped'), right? Maybe: $(dropped).css('left') and $(dropped).css('top'). Or you could use a function on the onDrag event of the draggable that updates some local variables to save the last position: var x; var y; $(...).Draggable