| Sample: dhtmlxTabbar | Loading from XML | dhtmlxTabbar main page |

| <?xml version="1.0"?> <tabbar align="left" offset="20" margin="-10" tabstyle="silver" skinColors="#ffffff"> <row> <tab id="b1" width='100px'>Tab 2-1</tab> <tab id="b2" width='100px' selected="1">Tab 2-2</tab> <tab id="b3" width='100px'>Tab 2-3</tab> <tab id="b4" width='100px'>Tab 2-4</tab> </row> </tabbar> Reload TabBar

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

                tabbar.loadXML("tabs_xml.xml");
                // or
                tabbar.loadXMLString(varString);</script>
                ---------tabs.xml---------
    <?xml version="1.0"?>
    <tabbar align="left" offset="20" margin="-10" tabstyle="silver" skinColors="#ffffff">
        <row>
            <tab id="a1" width='200px'>Tab 1-1</tab>
            <tab id="a2" width='200px'>Tab 1-2</tab>
        </row>
        <row>
            <tab id="b1" width='150px'>Tab 2-1</tab>
            <tab id="b2" width='100px' selected="1">Tab 2-2</tab>
            <tab id="b3" width='150px'>Tab 2-3</tab>
        </row>
    </tabbar>