DHTMLX Docs & Samples Explorer

### Load data in tabbar by ajax

Source

    <link rel="STYLESHEET" type="text/css" href="../../codebase/dhtmlxtabbar.css">
    <script  src="../../codebase/dhtmlxcommon.js"></script>
    <script  src="../../codebase/dhtmlxtabbar.js"></script>

    <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.addTab("a3", "Tab 1-3", "100px");
    tabbar.setHrefMode("ajax-html");
    tabbar.setContentHref("a1", "../common/test_page_1.html");
    tabbar.setContentHref("a2", "../common/test_page_2.html");
    tabbar.setContentHref("a3", "../common/test_page_3.html");
    tabbar.setTabActive("a1");</script>