dhtmlXTabBar - TabBar - per page iframes


Set hrefmode attribute value to iframes and add href attributes to tab tags to load tab content in iframe, which will be autoimaticaly created for each tab.


Sampled by JavaScriptBank.com

<div id="a_tabbar" style="width:400;height:300"></div> <script> tabbar=new dhtmlXTabBar("a_tabbar","top"); tabbar.setImagePath("imgs/"); tabbar.loadXML("tabs6.xml"); </script> <?xml version="1.0"?> <tabbar hrefmode="iframes"> <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




Over 2000+ free Javascript
at JavaScriptBank.com Website