DHTML JavaScript Tabbar samples

TabBar - loading by AJAX

You can load tab content from server and automaticaly place it on page using ajax. For more details see corresponding documentation chapter.


<div id="a_tabbar" style="width:400;height:100"></div> <script> tabbar=new dhtmlXTabBar("a_tabbar","top"); tabbar.setImagePath("imgs/"); tabbar.loadXML("tabs7.xml"); </script> <?xml version="1.0"?> <tabbar hrefmode="ajax"> <row> <tab id="b1" width='100px' selected="1" href="slow_ajax.php?num=1">SCBR 1</tab> <tab id="b2" width='100px' href="slow_ajax.php?num=2">SCBR 2</tab> <tab id="b3" width='100px' href="slow_ajax.php?num=3">SCBR 3</tab> </row> </tabbar>

Go to the dhtmlxTabbar main page or Close this page