<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>DHTML TabBar sample. dhtmlXTabBar - Custom colors</title>
<link rel="STYLESHEET" type="text/css" href="../css/dhtmlXTabbar.css">
<script type="text/javascript" src="../js/dhtmlXCommon.js"></script>
<script type="text/javascript" src="../js/dhtmlXTabbar.js"></script>
<style type="text/css">
body { font-family:arial;font-size:12px; font-size:12px}
h1 {cursor:pointer;font-size:16px;margin-left:10px;line-height:10px}
xmp {color:green;font-size:12px;margin:0;font-family:courier;background-color:#e6e6fa;padding:2px}
div.hdr{
background-color:silver;
margin-bottom:10px;
padding-left:10px;
}
</style>
</head>
<body>
<div class="hdr">DHTML JavaScript Tabbar samples</div>
<h1>Custom colors</h1>
<table width="500px">
<tr>
<td>
<div id="a_tabbar" style="width:100%; height:50px;"/>
</td>
</tr>
<tr>
<td>
<div id="b_tabbar" style="width:100%; height:50px;"/>
</td>
</tr>
<tr>
<td>
<div id="c_tabbar" style="width:50%; height:50px;"/>
</td>
</tr>
<tr>
<td>
<div id="d_tabbar" style="width:25%; height:50px;"/>
</td>
</tr>
</table>
<hr>
<xmp>
<div id="a_tabbar" style="width:400px;height:100px"></div>
<script type="text/javascript">
tabbar2=new dhtmlXTabBar("b_tabbar","top");
tabbar2.setImagePath("../imgs/");
tabbar2.loadXML("tabs1.xml");
tabbar2.setSkinColors("#FFFF00","#FFFACD");//set acive and other tabs background color
</script>
</xmp>
<script type="text/javascript">
tabbar=new dhtmlXTabBar("a_tabbar","top");
tabbar.setImagePath("../imgs/");
tabbar.loadXML("tabs1.xml");
tabbar2=new dhtmlXTabBar("b_tabbar","top");
tabbar2.setImagePath("../imgs/");
tabbar2.loadXML("tabs1.xml");
tabbar2.setSkinColors("#FFFF00","#FFFACD");
tabbar3=new dhtmlXTabBar("c_tabbar","top");
tabbar3.setImagePath("../imgs/");
tabbar3.loadXML("tabs1.xml");
tabbar3.setSkinColors("#7FFF00","#9ACD32");
tabbar4=new dhtmlXTabBar("d_tabbar","top");
tabbar4.setImagePath("../imgs/");
tabbar4.loadXML("tabs1.xml");
tabbar4.setSkinColors("#FF69B4","#FFC0CB");
</script>
<br><br>
<div id="out_zone"></div>
<p><a href="http://www.scbr.com/docs/products/dhtmlxTabbar/index.shtml" style="font-weight:bold;">Go to the dhtmlxTabbar main page</a> or <a href="javascript:self.close()">Close this page</a></p>
</body>
</html>