Windows not showing up in Chrome 3.0.195.33 or FireFox 3.5.5

My webpage consists of a layout (3U) declared globally as:

dhxLayout = new dhtmlXLayoutObject(document.body, “3U”);



In cell “a” I have a ThinkGeo ASP.NET Map control. The other cells contains dhtmlx grids.



I declare a global dhxWins as follow:



dhxWins = dhxLayout.dhxWins;

dhxWins.enableAutoViewport(true);

dhxWins.setImagePath("…/dhtmlxWindows/codebase/imgs/");

dhxWins.setSkin(“dhx_black”);



Based on certain actions, I create a “dialog” window as:

var dlg = dhxWins.createWindow(“findDlg”, 0, 0, 330, 150);

dlg.setText(mainToolbar.getItemToolTip(itemId));

dlg.denyResize();

dlg.denyPark();

dlg.button(“close”).hide();

dlg.button(“park”).hide();

dlg.button(“stick”).hide();

dlg.button(“help”).hide();

dlg.button(“dock”).hide();

dlg.button(“minmax1”).hide();

dlg.button(“minmax2”).hide();

dlg.attachObject(“findContainer”, true);

dlg.centerOnScreen();

dlg.setModal(true);





This all works fine in IE8. However, in IE7, Chrome and FF, the Window does not appear, the rest of the webpage is “grayed” (as expected because the window is set to modal).



Please advise.


You can try to use:


dhxWins = new dhtmlXWindows();


instead of


dhxWins = dhxLayout.dhxWins;


And moreover the latest dhtmlxlayout (2.5) doesn’t have dhxWins property.

Actually - I am using dhtmlXWindows 2.5 Build 91111 and it does support dhxWins.

I also followed your suggestion to use
dhxWins = new dhtmlXWindows() with the same result - no visibility on Chrome and FireFox.

Please provide the complete demo to support@dhtmlx.com that reproduces the issue.

I fixed the issue. I had to change the zindex (and the releated start index) to something greater than 1000 for the dialogs to show up