| Sample: dhtmlxTabbar | Loading in iframes - On demand | dhtmlxTabbar main page |

Iframes can be created only when tab activated. Set hrefmode attribute value to iframes-on-demand and add href attributes to tab tags to load tab content in iframe, which will be automatically created for each tab.
The content of iframe will be loaded only after tab selected, or loading forced programmatically.

Force loading of first tab
Change first tab href

    <div id="a_tabbar" style="width:400;height:300"></div>
    <script>
                tabbar=new dhtmlXTabBar("a_tabbar","top");
                tabbar.setImagePath("imgs/");
                tabbar.loadXML("tabs6d.xml");
                ...
                tabbar.forceLoad('b1');</script>

    <?xml version="1.0"?>
    <tabbar  hrefmode="iframes-on-demand">
        <row>
            <tab id="b1" width='100px' href="http://groups.google.com">Google groups</tab>
            <tab id="b2" width='100px' selected="1" href="http://google.com">Google search</tab>
        </row>
    </tabbar>