Use the draggable option appendTo: http://docs.jquery.com/UI/Draggable#option-appendTo
- Richard On Tue, Aug 4, 2009 at 1:35 PM, Yauhen <[email protected]> wrote: > > Hello All > > I have following issue. I have jquery ui dialog. inside it there is > list of items. Each item shoud be draggable > outsite dialog. This dialog show possible list of items that could be > inserted to some other element outsite dialog. > When dragging item and leaving bounds of dialog it disappears > visually. Drop event works but visually it is not available. As I > understand this is because of the dialog container. How could I fix > this issue? May be some options. > Code is simple as possible: > $("#dialog").dialog(); > $('#lblName').draggable({ > revert: 'invalid', > containment: 'document', > helper: 'clone', > cursor: 'move', > zIndex: 1200 > }); > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
