DHTML JavaScript Tabbar samples

TabBar - per page iframes - On demand

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:400px;height:300px"></div> <script type="text/javascript"> 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>

Go to the dhtmlxTabbar main page or Close this page