Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jack River on Aug 18, 2009 09:27
open dhtmlx forum
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
Answer posted by Alex (support) on Aug 19, 2009 05:51

Hello, 

the sample with windows in tabs is attached

Attachments (1)
Answer posted by Jack River on Aug 19, 2009 06:53
Thanks, works fine.