Hello,
tabbar.loadXML('xml/tabbar-items.xml?etc=' + etc, function() {
// tabbar loaded
...
});
tabbar.attachEvent('onTabClick', function(id, last_id) {
// tab clicked
...
});
I have discovered that onTabClick is triggered with tabbar.loadXML() call. Is it an expected behavior? If yes, I suggest to update the description of the onTabClick event which states:
onTabClick
occurs when the user clicks on the tab
Thanks,
George