dhtmlXTabBar - TabBar events


You can set event handler for tab selection. If it returns false then tab selection will not be changed.


Sampled by JavaScriptBank.com

<div id="a_tabbar" style="width:400;height:100"></div> <script> function my_func(idn,ido){ if (confirm("Tab "+idn+" to set active\nPlease Confirm?")) return true; return false; }; tabbar=new dhtmlXTabBar("a_tabbar","top"); tabbar.setImagePath("imgs/"); tabbar.setOnSelectHandler(my_func); tabbar.loadXML("tabs1.xml"); </script>

Go to the dhtmlxTabbar main page or Close this page




Over 2000+ free Javascript
at JavaScriptBank.com Website