Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Oct 31, 2008 12:55
open dhtmlx forum
tabbar normalize auto length not working

We have the following code using tabbar (using a recently updated file you sent us). We can't get the second parameter for the normalize( ) function to work, which is suppose to make all rows of tabs line up in length.

tabs=new dhtmlXTabBar("settings","top");
tabs.setStyle("winDflt");
tabs.setImagePath("/dhtmlx/images/tabs/");
tabs.setMargin("2");
tabs.enableAutoSize(false,true);
tabs.setHrefMode("ajax-html");
tabs.addTab("caching","Caching","70px");
tabs.setContentHref("caching","settings.php?grouptitle=caching");
tabs.addTab("general","General","70px");
tabs.setContentHref("general","settings.php?grouptitle=general");
tabs.addTab("design","Look and Feel","130px");
tabs.setContentHref("design","settings.php?grouptitle=design");
tabs.addTab("registration","Registration","120px");
tabs.setContentHref("registration","settings.php?grouptitle=registration");
tabs.addTab("categories","Categories","100px");
tabs.setContentHref("categories","settings.php?grouptitle=categories");
tabs.addTab("locations","Locations","90px");
tabs.setContentHref("locations","settings.php?grouptitle=locations");
tabs.addTab("search","Search","60px");
tabs.setContentHref("search","settings.php?grouptitle=search");
tabs.addTab("email","Email","50px");
tabs.setContentHref("email","settings.php?grouptitle=email");
tabs.addTab("banners","Banners","70px");
tabs.setContentHref("banners","settings.php?grouptitle=banners");
tabs.addTab("logos","Logos","50px");
tabs.setContentHref("logos","settings.php?grouptitle=logos");
tabs.addTab("offers","Offers","60px");
tabs.setContentHref("offers","settings.php?grouptitle=offers");
tabs.addTab("gallery","Image Gallery","130px");
tabs.setContentHref("gallery","settings.php?grouptitle=gallery");
tabs.addTab("documents","Documents","90px");
tabs.setContentHref("documents","settings.php?grouptitle=documents");
tabs.addTab("invoicing","Invoicing","90px");
tabs.setContentHref("invoicing","settings.php?grouptitle=invoicing");
tabs.addTab("automation","Automation","100px");
tabs.setContentHref("automation","settings.php?grouptitle=automation");
tabs.addTab("other","Other","50px");
tabs.setContentHref("other","settings.php?grouptitle=other");
tabs.addTab("reviews","Reviews and Ratings","190px");
tabs.setContentHref("reviews","settings.php?grouptitle=reviews");
tabs.normalize(550,true);
tabs.setTabActive("general");
Answer posted by Support on Nov 03, 2008 03:38
Problem confirmed and fixed.
Fix will be released as part of next build. ( fixed js file sent by email as well ) 
Answer posted on Nov 03, 2008 05:54
Didn't receive the email.  Seems to always have problems receiving email from you :(