I have a tabbar with several tabs.
It is initially set to size…
<div id="divTabbar" style="width:900px; height:637px;"></div>
tabContainer = new dhtmlXTabBar("divTabbar", "top");
tabContainer.setImagePath(imgDir);
tabContainer.addTab("t1", "t1", "150px");
tabContainer.addTab("t2", "t2", "150px");
tabContainer.addTab("t3", "t3", "150px");
tabContainer.setContent("t3", "divGrid");
// tabContainer.enableAutoSize(false, true);
tabContainer.setTabActive("t3");
And works fine.
If we try to use tabContainer.enableAutoSize(false, true);
We get the following error:
[b]Error: this.mainCont.style is undefined
Source File: http://...../dhtmlxtabbar.js
Line: 90[/b]