dhtmlxwindows and accordion - open window on over the whole


we have a accordion with inner html document which opens a dhtmlxwindow if a button is clicked. the code for opening the window is set within accordion’s iframe.

resultWindow = dhxWins.createWindow(“enterResultWindow”, 0, 0, 1000, 650);

the window creates successfully but only inside the inner content of the accordion frame. how can we open it in the parent document which is the whole website page?

thx for a hint!


in order to open window in the parent document this window should be created in parent.

For example you can create dhxWins object on the main page (dhtmlxwindows libraries should be included in the main page too).

And to create a certain window you just need to call the following:

resultWindow = parent.dhxWins.createWindow(“enterResultWindow”, 0, 0, 1000, 650);