<link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxtabbar.css">
<script src="../../codebase/dhtmlxcommon.js"></script>
<script src="../../codebase/dhtmlxtabbar.js"></script>
<script src="../../../dhtmlxFolders/codebase/dhtmlxfolders.js"></script>
<link rel="stylesheet" type="text/css" href="../../../dhtmlxFolders/codebase/dhtmlxfolders.css">
<script src="../../codebase/dhtmlxcontainer.js"></script>
<h1 id="init_tabbar_from_script">Integration with dhtmlxFolders</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.addTab("a1", "Tab 1-1", "100px");
tabbar.addTab("a2", "Tab 1-2", "100px");
tabbar.setTabActive("a1");
var folders = tabbar.cells("a1").attachFolders();
folders.setItemType("ftiles");
folders.setUserData("icons_src_dir", "../../../dhtmlxFolders/samples/common/images");
folders.loadXML("../common/folders.xml?" + new Date().getTime(), "../../../dhtmlxFolders/codebase/types/ftiles.xsl");
</script>