dhtmlXTabBar - Add content to TabBar



Sampled by JavaScriptBank.com Attach content to TabBar


<div id="a_tabbar" style="width:400;height:100"></div> <script> tabbar=new dhtmlXTabBar("a_tabbar","top"); tabbar.setImagePath("imgs/"); tabbar.setSkinColors("#FCFBFC","#F4F3EE"); tabbar.addTab("a1","Tab 1-1","100px"); tabbar.addTab("a2","Tab 1-2","100px"); tabbar.addTab("a3","Tab 1-3","100px"); tabbar.setContent("a1","html_1"); tabbar.setContent("a2","html_2"); tabbar.setContentHTML("a3","<br/>The content can be set as <b>HTML</b> node or as <b>HTML</b> text."); </script>

Go to the dhtmlxTabbar main page or Close this page




Over 2000+ free Javascript
at JavaScriptBank.com Website