DHTML JavaScript Tabbar samples

Loading 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.xml"); </script> ---------tabs.xml--------- <?xml version="1.0"?> <tabbar align="left" offset="20" margin="-10" tabstyle="winScarf"> <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>

Go to the dhtmlxTabbar main page or Close this page