onAfterTabClick

fires after a tab has been clicked

void onAfterTabClick(number|string id,Event ev);
idnumber|stringthe id of the tab that was clicked
evEventthe click event object

Example

tab.attachEvent("onAfterTabClick", function(id,ev){
    //code
});

Details

Unlike the onItemClick event this one watches clicks over separate tabs and passes the ID of a clicked tab into its handler.

See also
Back to top