dhtmlxWindows: error creating windows in object form

Hello all,

I’m starting a new GPL project and download Dhtmlx suite from site. I’m trying to create windows in object form. The window is not created. But, if I create window in old style way (like was in 3.6 version), the windows are created normally. What I’m doing wrong?

In the attach, has a fully functional demo as I mentioned.

Tested on Firefox with firebug.

Best regards.

Luis Fernando Kieça.
teste.tar.gz (372 KB)

Hello
If you need to create window dynamically (as in your case), you need to use old api approach.
If you know how many windows you must have (i.e. 3 windows), you can use new object creation method.

Darya,

Thanks for your answer.

I’ll do it in old way.

Thank you.

Luis Fernando Kieça

Ok :slight_smile:
You are welcome!