Is working when replaced jquery.ui-1.6rc4 demos\tabs\default.html js
files with

http://jquery-ui.googlecode.com/svn/trunk/

jquery-1.3pre.js
ui/ui.core.js
ui/ui.tabs.js

        $(function() {
                $("#tabs").tabs();
                //$('#tabs').data("disabled.tabs", [1,2]); //works
                $('#tabs').tabs({ disabled: [1,2] });  //this method not 
working ???
                //$('#tabs').tabs("disable", 1); //works
                //$('#tabs').tabs("disable", 2); //works
        });
Thanks Klaus & Jesse
Danny

On Jan 12, 1:56 am, Klaus Hartl <klaus.ha...@googlemail.com> wrote:
> Again, everything works as expected for me. Could you possibly put up
> a test case?
>
> Also, could you try and update to latest version from the repository?
> It may be related to a bug that occured when initializing a div
> instead of a ul element.
>
> BTW, in your first example you need to use the data method:
>
> jQuery('#product').data("disabled.tabs", [1,2,3,4]);
>
> --Klaus
>
> On 12 Jan., 00:03, Jesse <jesse.bad...@gmail.com> wrote:
>
> > I would like to confirm that the array methods for disabling tabs does
> > not work.
>
> > I have 1.6rc4 installed.  5 Tabs 4 of which I need disabled on page
> > load
>
> >                 jQuery('#product').tabs();
> >                 jQuery('#product').tabs("disabled.tabs", [1,2,3,4]);
>
> > does not work.. neither does
>
> >                 jQuery('#product').tabs({ disabled: [1,2,3,4] });
>
> > However this does work
>
> >                 jQuery('#product').tabs();
> >                 jQuery('#product').tabs("disable", 1);
> >                 jQuery('#product').tabs("disable", 2);
> >                 jQuery('#product').tabs("disable", 3);
> >                 jQuery('#product').tabs("disable", 4);
>
> > J
>
> > On Jan 10, 4:25 am, Klaus Hartl <klaus.ha...@googlemail.com> wrote:
>
> > > $("#tabs").data('disabled.tabs', [1,2]) as well as $("#tabs").tabs
> > > ({ disabled: [1,2] }) both do work fine for me.
>
> > > --Klaus
>
> > > On 9 Jan., 12:47, tesdev <tesde...@googlemail.com> wrote:
>
> > > > Using jquery.ui-1.6rc4\jquery.ui-1.6rc4\demos\tabs\default.html as a
> > > > base
> > > > Getting there... ui-state-disabled is assigned but...
> > > > line 11 ...
> > > >         $(function() {
> > > >                 $("#tabs").tabs();
> > > >                 // tried 3disablevariations from different sources
> > > >                 //$("#tabs").data('disabled.tabs', [1,2]);
> > > >                 $("#tabs").tabs("disable", 1);  //works
> > > >                 $("#tabs").tabs("disable", 2); //works
> > > >                 //$("#tabs").tabs({disabled: [1,2]});
> > > >         });
> > > > The array versions dont work - should they in this context?
> > > > Danny
>
> > > > On Dec 31 2008, 5:26 pm, Klaus Hartl <klaus.ha...@googlemail.com>
> > > > wrote:
>
> > > > > No suggestions unless you show us some code...
>
> > > > > --Klaus
>
> > > > > On 31 Dez., 08:11, JasonR <jbra...@yahoo.com> wrote:
>
> > > > > > Hello,
> > > > > > I have some content and am using thetabswidget to reload without
> > > > > > refreshing. Everything is working fine except for one problem...the 
> > > > > > ui-
> > > > > >tabs-disabled class is not being assigned to any of thetabs.
> > > > > > Whichever tab I click is assigned the ui-tabs-selected class, and 
> > > > > > the
> > > > > > tab adopts the styles for that class. But my styles for the disabled
> > > > > >tabsare not showing up. Checking in Firebug I can verify that the
> > > > > > class is not being assigned.
>
> > > > > > Any suggestions? Thanks.

Reply via email to