Tabbar

hi, i am intilizing tabbars like this is it a good way of doing or should i intilize a tabbar separtely.















how to make active and disable a tabbar if i use the intilization of tabbar as mentioned above





You can use select=“tabId” containers’s DIV attribute:
<div id=“a_tabbar” select=“a2” class=“dhtmlxTabBar” imgpath="…/…/codebase/imgs/" style=“width:398; height:395;” skinColors="#FCFBFC,#F4F3EE" >



Content 3



how to make active and disable a tabbar if i use the intilization of tabbar as mentioned above

There is no way to set tab disabled via initialization from html. You can do that only with API.


You can try to use the following approach:


<div id=“a_tabbar” select=“a2” class=“dhtmlxTabBar” oninit=“doOnInit()”…>


function doOnInit(){


a_tabbar.disableTab(tabId);


a_tabbar.enableTab(tabId);


}

Thanks …