DHTML JavaScript Tabbar samples

Loading content from XML

Reload TabBar

<div id="a_tabbar" style="width:400;height:100"></div> <script> tabbar=new dhtmlXTabBar("a_tabbar","top"); tabbar.setImagePath("../imgs/"); tabbar.loadXML("tabs.xml"); </script> ---------tabs.xml--------- <?xml version="1.0"?> <tabbar> <row> <tab id="a1" width='200px' selected="1">Tab 1-1 <content> <![CDATA[<img src='imgs/page_a.gif'>]]> </content> </tab> <tab id="a2" width='200px'>Tab 1-2 <content> <![CDATA[<img src='imgs/page_b.gif'>]]> </content> </tab> </row> </tabbar>

Go to the dhtmlxTabbar main page or Close this page