| Sample: dhtmlxTabbar | Loading by AJAX | dhtmlxTabbar main page |

You can load tab content from xml and automaticaly place it on page using ajax. For more details see corresponding documentation chapter.

Force loading of second tab
Change first tab href

    <div id="a_tabbar" style="width:400;height:100"></div>
    <script>
                tabbar=new dhtmlXTabBar("a_tabbar","top");
                tabbar.setImagePath("imgs/");

                tabbar.loadXML("tabs7.xml");</script>

    <?xml version="1.0"?>
    <tabbar  hrefmode="ajax">
        <row>
            <tab id="b1" width='100px' selected="1"  href="slow_ajax.php?num=0">Google</tab>
            <tab id="b2" width='100px' href="slow_ajax.php?num=1">Yahoo</tab>
        </row>
    </tabbar>