Hi,
With drag & drop, there are different behaviors :
- when you can move an object everywhere. Then you have to get the
position in pixels to display the draggable at the same place the
following time. You get it with $(div).offset()
- when you reorder objects and put it into predefined droppables,
( and it will be preferrable to use sortable with connectWith and not
draggable ). Then two items identify you position : the parent
container, and the index.
The parent can be retrieved by $(div).parent() and the index by $
(div).prevAll().length

If you precise you situation, I'll detail one of the two options.

Regards,
Ludovic
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to