Hi,
I am opening popup window using following code and not able to disable complete parent window. I have attached one JPG file to show the problem.
This is issue when parent page has vertical scrollbar and user opens popup after scrolling parent page to the bottom.
function showDHTMLXPopUpSH(url, xCoord, yCoord, pWidth, pHeight, modalYN, headerText, hideButtons)
{
var imgPathWindow = “…/DHTMLX/dhtmlxWindows/codebase/imgs/dhxwins_c594/”;
var popupWindow;
var xmlGUIToolsTabs = “…/GUITools/GUIToolsTabset.xml”;
dhxWins1 = new dhtmlXWindows();
dhxWins1.setImagePath(imgPathWindow);
dhxWins1.setSkin(“c594”);
popupWindow = dhxWins1.createWindow(“popupWindow”, xCoord, yCoord, pWidth, pHeight);
dhxWins1.window(“popupWindow”).setText(headerText);
popupWindow.attachURL(url);
popupWindow.show();
popupWindow.setModal(modalYN);
if(hideButtons==true)
{
dhxWins1.window(“popupWindow”).button(“park”).hide();
dhxWins1.window(“popupWindow”).button(“minmax1”).hide();
}
document.body.scroll=“no”;
//document.body.style.overflow = “hidden”;
// GUITools.LogMessage(headerText + ‘Popup Initialized’, 1);
}