Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jul 21, 2009 20:19
open dhtmlx forum
Tabbar left and Top

Hi,

i have difficulties to implement dhtmlxtabbar Left (2 Tabs) as well as unlimited Top tabbar

<div id="left_tabbar" style="width:980px;height:600px; position:absolute; left:150px; top:129px;"/>
<div id="top_tabbar" style="width:980px;height:600px; position:absolute; left:127px; top:150px;"></div>


i am using tabbar.addtab method left 2 tabs are working fine, where as after creating new tab for top tabbar, Tab got created but the left tabbar is still alive, and in background the top tab is loaded. How to hide left tabbar when top tabbar is active ?


I refer the following knowledge base answer, but it couldn't solve my pbl.
http://www.dhtmlx.com/docs/products/kb/index.shtml?cat=7&page=6&q=3078

can you send me a working example with left and top tabbar, and show only the active tab content.

i really appreciate for you suppose all the time.
Answer posted by Alex (support) on Jul 22, 2009 05:40

Hello,

You should use enableContentZone(false) method for both tabbars. The content can be set by onSelect handler.

Please take a look at the sample dhtmlxTabbar/samples/tabs_orientation/tab_all.html in the tabbar package for details.