DHTMLX Docs & Samples Explorer

Init TabBar config from the XML

Init TabBar config from the XML

Source
<link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxtabbar.css">
<script  src="../../codebase/dhtmlxcommon.js"></script>
<script  src="../../codebase/dhtmlxtabbar.js"></script>
 
<h1 id="init_tabbar_from_the_xml">Init TabBar config from the XML</h1>
<div id="a_tabbar" style="width:395px; height:390px;"/>
<script>
tabbar = new dhtmlXTabBar("a_tabbar", "top");
tabbar.setSkin('dhx_skyblue');
tabbar.setImagePath("../../codebase/imgs/");
tabbar.loadXML("../common/config.xml");
</script>