attach dhtmlxWindows to a <DIV> block

Hi,



How do I attach a dhtmlx window to a

block in the page? Also, I would like the window to become the same size of the
block.



Thanks.

Andy


Hello,


it is possible to attach window viewport to div and moreover to deny window moving. The example is:





dhxWins.attachViewportTo(DIV_ID);


var win = dhxWins.createWindow(“win”,0,0,DIV_WIDTH,DIV_HEIGHT);


win.denyMove();
win.denyResize();