Hi,
When adding a Tabbar, there is only provision to set the Wdth of the label section but not the Height.
Please Help.
Ndegwer | Kenya
Hi,
When adding a Tabbar, there is only provision to set the Wdth of the label section but not the Height.
Please Help.
Ndegwer | Kenya
Hi
You can set the height only if you create it in a div.
Try the sample to see the result of all the skins:
[code]
Predefined Tabbar skins<link rel="STYLESHEET" type="text/css" href="../dhtmlxTabbar/codebase/dhtmlxtabbar.css">
<script src="../dhtmlxTabbar/codebase/dhtmlxcommon.js"></script>
<script src="../dhtmlxTabbar/codebase/dhtmlxtabbar.js"></script>
<style>
html, body {
width: 100%;
height: 100%;
margin: 0px;
background-color:white;
}
</style>
<script>
function doOnLoad(){
function create_t(ind,name){
var tabbar=new dhtmlXTabBar("tabbar_"+ind,"top", 40);
tabbar.setImagePath("../dhtmlxTabbar/codebase/imgs/");
tabbar.setSkin(name);
tabbar.loadXML("../dhtmlxTabbar/samples/common/config.xml",function(){
tabbar.setContentHTML("t2","skin: "+name);
});
}
create_t(0,"dhx_skyblue")
create_t(1,"default");
create_t(2,"winscarf");
create_t(3,"winbiscarf");
create_t(4,"glassy_blue");
create_t(5,"dark_blue");
create_t(6,"silver");
create_t(7,"modern");
create_t(8,"dhx_blue");
create_t(9,"dhx_black");
}
</script>
</head>
<body onload="doOnLoad()">
Thx, worked
You are welcome!