Hi
I have a loading.gif spinner that is activated (via a js function) when clicking on a tab.
That js function is called by All tabs of CJuiTabs:
$options = array(
'beforeActivate'=>"js:function(event, ui){
loadingGif_in();
}",
);
The problem comes in when I want to remove the loading.gif spinner. Here I can’t use the same event for all tabs, because ‘static tabs’ must use the ‘activate’ event while ‘ajax tabs’ must use the ‘load’ event.
- Can you set different options for each tab?
or
- Can you give each tab a different ‘class’?