fires before a tab is clicked
id | number|string | the id of the tab |
ev | Event | the click event object |
boolean | returns false, if the event handler returns false, returns true by default |
tab.attachEvent("onBeforeTabClick", function(id,ev){
//code
});
Unlike the onItemClick event this one watches clicks over separate tabs and passes the ID of a clicked tab into its handler.
You can block clicking by returning false from the event handler.