Required library edition:
Required library file: dhtmlxcontainer.js
detaches object from cell (object moved to document.body, also style “display:none;” automatically added).
Create object
<div id="myObj"> </div>
Init Layout, attach object to cell “a”
var dhxLayout = new dhtmlXLayoutObject(document.body, "3L"); dhxLayout.cells("a").attachObject("myObj");
Detach object
dhxLayout.cells("a").detachObject(); // object attached to document.body now // attach to another cell dhxLayout.cells("b").attachObject("myObj");
This approach can also be used for accordion, tabbar and windows items.