You could probably use the select callback to add such icon stuff and clean it up in the load or show callback.
--Klaus On 19 Jan., 21:38, rolfsf <[email protected]> wrote: > I have some tabs that I've added various 'flags' to - basically icons > that indicate various states and qualities about the content. The > markup looks something like this: > > <li class="tab-flag"> > <div class="icon status-loading"></div> // status-ok, status- > invalid, etc > <a href="test-ajax.htm"><span>Performance</span></a> > </li> > > basically, the 'tab-flag' just signifies a tab that has a flag > (modifies the basic dimensions to allow the positioned div.icon), and > the 'status-X' class determines which icon sprite gets shown. I'd like > to use a loading icon, rather than the ui-tabs spinner 'loading' text. > Is there an easy way to make that class change as the tab is > constructed, or would I be better off trying to revise the markup so > that my status icon appears within the tab anchor? > > thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
