Refer to one window from inside another

How can I achieve the following:

After creating 2 windows (win1 & win2) from the same dhxWins object I want to be able to refer to win2 from the html within win1.

Also can I refer to the dhxWins object from html of either window. I want to be able to create a new win3 when an event occurs in either win1 or win2.

Thanks for your help in advance.

Please, provide detailed information.

If you attaching objects from the same page - you need only make dhxWins variable global.
If you attaching different pages - this can be achieved only for pages with the same domain.
docs.dhtmlx.com/doku.php?id=dhtm … me_content