closing dhtmlxwidows internally

Hi,

I would like to close the window from html (dhtmlxwindows). I am using a dhtmlxwindows and I am attaching a tabbar. In the tabbar, I am referring a html with a button. When I tried to click the button, I am not able to close the dhtmlxwindows. Previously I was able to close the window, if I refer the html directly from dhtmlxwindows instead of tabbar. Please help.


Hello,


Which loading mode do you use for tabbar ?


If “iframes” is used, you should take into consideration the parent window object:


parent.win.close();

I am using a php script to output a html and not using any iframes.

If you don’t use iframes mode for tabbar, win.close() must close the window. Please, provide the sample where we can reproduce the problem