Using jQuery UI tabs()
- with ajax, drawing the content from other pages.
Its working fine, but sometimes the content takes few seconds to load - I would like to have a 'loading...' message in the tab content area.
This is my code currently (used for applying colorbox()
to relevant links within the ajax content):
$("#tabs").tabs().bind('tabsload',function(event, ui){
$("#tabs .iframe").colorbox({iframe:true, width:"65%", height:"80%"});
});
I have seen the suggestions at JQuery UI Tabs - "Loading..." message but none of them seem to work. Maybe they are outdated.
Help appreciated! Thanks