dhxLayout = new dhtmlXLayoutObject(document.body,“3T”);
tabbar = dhxLayout.cells(“c”).attachTabbar();
tabbar.addTab(“d1”,“Dashboard”,“100px”);
tabbar.setImagePath("/js/dhtmlx/dhtmlxTabbar/codebase/imgs/");
tabbar.setSkinColors("#e5e5e5","#ffffff");
tabbar.setSkin(“winRound”);
tabbar.setContent(“d1”,“dash”);
tabbar.setTabActive(“d1”);
thats for the initial tab. which loads fine. But when I try to add a new tab via:
tabbar.addTab(“t2”,“New Tab”);
tabbar.setContentHref(“t2”, “file.html”);
I even tried with tabbar.forceLoad(“t2”, “file.html”); still nothing.
The new tab is created but no contents are attached. Please help.