Categories | Question details Back To List | ||
Tabbar hi, i am intilizing tabbars like this is it a good way of doing or should i intilize a tabbar separtely. <div id="a_tabbar" class="dhtmlxTabBar" style="width:990px;height:500px" align="left" imgpath="<%=basePath%>/resources/codebase/tab/codebase/imgs/" skinColors="#FCFBFC,#F4F3EE,#FCFBFC"> how to make active and disable a tabbar if i use the intilization of tabbar as mentioned above Answer posted by dhxSupport on Aug 24, 2009 02:33 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" > <div id="a1" width="100" name="Profiles"><img src="../images/page_a.gif"></div> <div id="a2" width="100" name="Settings"><img src="../images/page_b.gif"></div> <div id="a3" width="100" name="Content" >Content 3</div> </div> Answer posted by kamaraju on Aug 24, 2009 02:38 how to make active and disable a tabbar if i use the intilization of tabbar as mentioned above Answer posted by dhxSupport on Aug 24, 2009 03:31 There is no way to set tab disabled via initialization from html. You can do that only with API. Answer posted by Alex (support) on Aug 24, 2009 06:17 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); } Answer posted by kamaraju on Aug 24, 2009 21:32 Thanks .. |