Which versions of jQuery and jQuery UI are you using?
Also, you don't need to call both:
$(document).ready
and:
$(function(){
They're both the same thing. Just use one of them.
On Mar 24, 3:09 pm, "gilson.gdcweb" <[email protected]> wrote:
> rockwild, spinner not found!!
>
> My code:
> $(document).ready(function(){
> $(function(){
> $('#tabs').tabs({
> spinner: 'LOADING...'
> });
> });
>
> });
>
> Not Found!!! (A BUG ???)
>
> Send-me link to live example?
>
> Very Thanks
>
> On 24 mar, 16:37, rockwild <[email protected]> wrote:
>
> > Sorry, I have my $ mapped to $j to get around conflicts with
> > prototype. You'll have to change that back to just the "$".
>
> > On Mar 24, 3:35 pm, rockwild <[email protected]> wrote:
>
> > > If you are trying to give it a label while it is loading using ajax, I
> > > believe it defaults to "Loading..." or you can specify a label by
> > > using the option "spinner: 'YOUR_TEXT_HERE'" in the init options. I
> > > use this function to rename tabs, it uses a prompt box for the name so
> > > you'll have to change that to whatever you want. It works if you are
> > > using the default new tab template.
>
> > > function renameTab(){
> > > var name=prompt("Please enter a new name for the tab:");
> > > if (name!=null && name!=""){
> > > $j(".ui-tabs-selected").find("span").html(name);
> > > }
>
> > > }
>
> > > I am relatively new to jQuery though, so there might be a better way
> > > to do it.
>
> > > Rob
>
> > > On Mar 21, 10:01 pm, "gilson.gdcweb" <[email protected]>
> > > wrote:
>
> > > > How to rename a tab?
>
> > > > $(document).ready(function(){
> > > > $(function(){
> > > > $('#tabs').tabs({
> > > > select: function(){
> > > > // RENAME TO 'Loading...'
> > > > },
> > > > load: function(event, ui){
> > > > // REAL NAME
> > > > }
> > > > });
> > > > });
>
> > > > });
>
> > > > Other Solution??
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---