Categories | Question details Back To List | ||
Layout Cell Layering OK. Tried the following: var dhxWins = new dhtmlXWindows(); One other thing I dabbled with just creating and then later attaching the object from an HTML Button Layout Cell "A" without any special window objects like so: <input type="button" onclick="dhxLayout.cells('c').attachObject('objId4');" name="btn8" value="Display Window 4"><br> Answer posted by Support on Dec 04, 2008 02:19 <body> <!-- will used as viewport --> <div id="winVP" style="display: none; position: relative; width: 100%; height: 100%; overflow: hidden;"></div> ... <script> var dhxLayout = new dhtmlXLayoutObject("parentId", "3L"); // attach viewport to cell dhxLayout.cells("a").attachObject("winVP"); // init windows var dhxWins = new dhtmlXWindows(); // set user-defined viewport dhxWins.enableAutoViewport(false); dhxWins.attachViewportTo("winVP"); // create window var w1 = dhxWins.createWindow("w1", 10, 10, 320, 200); ... |