DhtmlxWindows in DhtmlxTabbar

Hi,



I apologize for my English and hope you’ll understand.



I have some difficulties with integration of windows in tabbar.



- I have 3 tabs.

- Each tab contains a different dhtmlxWindow.

- I load each tab in AJAX.



When a tab is activated, i need to display the window, and of course hide others.



The only way i found, is to set an id on dhx_tab_content_subzones with

tabbar._content [tab_1].id = “sub_zone_1”;



and define the window’s viewport with

dhxWins.attachViewportTo(“sub_zone_1”);



When another tab is activated, the window of previous tab hides correctly, the content of new tab is correctly loaded, but the new window doesn’t display.



But when the other tabs are closed (1 tab left), the window displays.



Is there another way to keep a window in the subzone of one tab ?



Best regards


Hello,


the sample with windows in tabs is attached


1250686121.zip (85 KB)

Thanks, works fine.