DhtmlxLayout and DhtmlxWindow problem about center

Hi,



I use Full Screen dhtmlxLayout with layout view 3L. And when any link click in a cell b cell attachURL. At attachenturl i want to open a dhtmlxWindow.



But my problem is when i call the windows it was only center and show in b cell not all of the layout center. How can i fix this. Can you help me about this article…



Tnx

Ozan

Hello,

If you put the iframe inside the cell (attachURL method) and try to open window, the window will be shown only inside this iframe (for this document).

If you want to open dhtmlxwindow in the main page, you should initialize dhtmlXWindows on this page:

var wins = new dhtmlXWindows();
wins.setImagePath(“imgs/”);

var layout = new dhtmlxLayout(…);

And the window creation code can be called inside the page loaded into the layout cell:

var win = parent.wins.createWindow(…);

i have same problem with tabbar.

i use your code’s with tabbar but at this time explorer said " HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)",
i was fix this error but now the windows open top of the main screen not center the tabbar.

Thx.
Ozan


ok.



 



I found the fix.



 dhxWins.enableAutoViewport(false);
 dhxWins.attachViewportTo(“a_tabbar”);



add this in tabbar pages than everythin ok.



 



Thx



Ozan