drag and resize-problem with embedded dialog

drag and resize-problem with embedded dialog

hi
i intend to establish a window-like layout using jquey dialog.
A dialog can by appended to a another dialog, with the option  appenTo.
here my code:
$(function(){
$('<div id=desktop >desktop<br>desktop<br>desktop<br>desktop<br>desktop<br>desktop<br>desktop<br>desktop<br>desktop<br></div>').dialog()
 $('<div id=child>child<br>child<br>child<br>child<br></div>').dialog({appendTo:"#desktop"})
 });
It works almoust as expected, but i encouter a problem: the childdialog is not draggable nor resizeable.
Any idea why?
    • Topic Participants

    • rh