Hi @all,

I have created a dhtmlxWindow object that loads the content of another html-Page.
On the page that is shown inside the dhtmlx-Window I want to open another dhtmlxWindow by clicking a button. This works quite fine but the new dhtmlxWindow is opened inside the first dhtmlxWindow. But I want that the new window is loaded outside the first dhtmlxWindow.
I couldn’t solve this problem. I hope anybody can help me how to solve this.

Thak you.

Best regards


Hi Mario,

if you use iframe as a window content (attachURL method), you need to call methods from the parent window:


Hi Alexandra,

thanks for your reply.

I have tried this, but it doesn’t work.

Could you give me a small example, please?

Thanks a lot.




  1. parentPage.html - dhxWins is a public variable:

dhxWins = new dhtmlXWindows();

w1 = dhxWins.createWindow(“w1”, 20, 30, 520, 240);

  1. childPage.html:

parent.dhxWins.createWindow(“w2”, 20, 30, 520, 240);

Hi Alexandra,

thank you very mutch.

This small example helped me a lot.

Now it works. Fine :slight_smile: