Attachurl in Window

Hello,

up to now I have used the DHTMLX 3.6 :rofl: version with which I have always found myself very well. Today I decided to try version 6 and I immediately found some problems. The first is what I can’t attach a page to a window.

Example: I have the page form.php that is a form that I want to use in different pages. Now on the pages I want to open the form on a window. On my version the code was something like:

dhxWins = new dhtmlXWindows();
dhxWins.enableAutoViewport(true);
dhxWins.setImagePath(“dhtmlx/dhtmlxWindows/codebase/imgs/”);
w1 = dhxWins.createWindow(“w1”, 20, 30, 440, 704);
w1.attachURL(“form.php”);
dhxWins.window(“w1”).center();

Currently In the dhtmlxWindow 6 there is no attachURL() method.
You are onle able to attach tyhe html to your window. So you can attach and iframe with the required url to your window.

Perfect, thank you :slight_smile: