| Sample: dhtmlxTabbar | TabBar events | dhtmlxTabbar main page |
You can set event handler for tab selection. If it returns false then tab selection will not be changed.
<script></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.setOnSelectHandler(my_func); tabbar.loadXML("tabs1.xml");
| © DHTMLX LTD. All rights reserved |