Hi,
I’m using dhtmlxtabbar inside a dhtmlxlayout ,
When I set the tabbar to be aligned to the right , I can’t see the scrollbar of the tabbar.
Why is that happening, and how can i fix this?
thanks.
Here is my code:
<div id="parentId" style="position: relative; top: 20px; left: 20px; width: 600px; height: 400px; aborder: #B5CDE4 1px solid;"></div>
<script>
function doOnLoad()
{
var dhxLayout = new dhtmlXLayoutObject("parentId", "1C");
var dhxTabbar = dhxLayout.cells("a").attachTabbar();
dhxTabbar.setImagePath("scripts/dhtmlxTabbar/codebase/imgs/");
dhxTabbar.setAlign("right");
dhxTabbar.enableTabCloseButton(true);
dhxTabbar.addTab("1" , "1" , "200px");
dhxTabbar.setContentHref("1" , 'tables/test.jsp');
dhxTabbar.addTab("2" , "2" , "200px");
dhxTabbar.setContentHref("2" , 'tables/test.jsp');
dhxTabbar.addTab("3" , "3" , "200px");
dhxTabbar.setContentHref("3" , 'tables/test.jsp');
dhxTabbar.addTab("4" , "4" , "200px");
dhxTabbar.setContentHref("4" , 'tables/test.jsp');
dhxTabbar.addTab("5" , "5" , "200px");
dhxTabbar.setContentHref("5" , 'tables/test.jsp');
dhxTabbar.setTabActive("5");
}
</script>
</body>