For problem one, try setting the appendTo option to 'body' For problem two, your syntax is wrong, there is no 'connectWith' method... instead do:
$('#layout_editor_div').sortable('option','connectWith','#layout_editor_cp'); On Thu, Oct 22, 2009 at 6:06 PM, Wyza <iamw...@gmail.com> wrote: > > I have 2 dialog windows each containing a sortable list. (using the > following code) > > $('#layout_editor_div, #layout_editor_cp').sortable( { > placeholder: 'ui-state-highlight', > items: '.data_block_edit', > forcePlaceholderSize: true, > handle:'h3' > }); > > $('#layout_editor_div').sortable('connectWith','#layout_editor_cp'); > > I've found 2 problems. 1 is that overflow is set to hidden on a > dialog, which, at the moment, i'm setting to visible using firebug. > This causes elements that you attempt to drag out of the dialog to > disappear. > The 2nd problem is that the list (#layout_editor_div) doesn't connect > with #layout_editor_cp. So when you drag an element over to it, no > placeholder appears and you can't drop the element into the list. > > Thoughts? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---