DHTML JavaScript Tabbar samples

TabBar - links in single iframe

Set hrefmode attribute value to iframe and add href attributes to tab tags to load tab content in single iframe (which will be autoimaticaly created)

<div id="a_tabbar" style="width:400;height:300"></div> <script> tabbar=new dhtmlXTabBar("a_tabbar","top"); tabbar.setImagePath("imgs/"); tabbar.loadXML("tabs5.xml"); </script> <?xml version="1.0"?> <tabbar hrefmode="iframe"> <row> <tab id="b1" width='100px' href="http://ya.ru">Yandex</tab> <tab id="b2" width='100px' selected="1" href="http://google.com">Google</tab> </row> </tabbar>

Go to the dhtmlxTabbar main page or Close this page