Categories | Question details Back To List | ||
tabbar tabs selected When a tab is selected in your demo when there are multiple rows of tabs that tab gets moved to the bottom row. We can't seem to reproduce this. We have three rows of tabs, but when we select a tab in the top row, it doesnt get moved down. Answer posted by Support on Aug 21, 2008 09:31 Issue can't be reconstructed locally. The only possible reasons, as far as I can see, is usage of non-unique IDs for different tabs. If problem still occurs for you - please send any kind of sample where it can be reconstructed to support@dhtmlx.com By the way, which version of dhtmlxtabbar you are using? Answer posted on Oct 28, 2008 13:53 We are using the PRO version. Screenshot is here: http://img222.imageshack.us/my.php?image=clip1ov9.jpg tabs=new dhtmlXTabBar("settings","top"); tabs.setStyle("winDflt"); tabs.setImagePath("/dhtmlx/images/tabs/"); tabs.setMargin("5"); tabs.enableAutoSize(false,true); tabs.enableAutoRow(true); tabs.setHrefMode("ajax-html"); 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.setTabActive("general"); tabs.normalize(550,true); Answer posted by Support on Oct 29, 2008 06:41 The only moment which need to be changed tabs.normalize(550,true); tabs.setTabActive("general"); //move setTabActive after normalize Except of this provided snippet works correctly ( sample sent by email ) Answer posted on Oct 29, 2008 08:23 The example sent does not work either. This is in firefox 3. Also I am not using XML to load the tabs. I am using javascript to load the times on no particular row, and then using normalize (which I think is the problem). Do you have some demo of this that matches my code and works? Answer posted by Support on Oct 29, 2008 08:56 Sample , which uses exactly the same code as you have provide. It works in all supported browsers, including FF3. >> and then using normalize (which I think is the problem). This method just split tabs on different rows, it doesn't affect logic of tab selecting. Answer posted on Oct 29, 2008 09:10 The example you sent me did not work. Please re-send. I emailed back as well. Can send you a video of it not working if you need it. Answer posted by Support on Oct 29, 2008 09:36 We have sent you the sample by email. If problem persists, please, provide the information which allows to reconstruct it ( at support@dhtmlx.com ) Answer posted on Oct 29, 2008 10:52 I have sent you a video showing it not working. (still) |