DHTMLX Docs & Samples Explorer

Init config and data from XML

Init config and data from 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 config and data from 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_data.xml");
</script>