You cannot disable the selected tab currently. If you can start with
all tabs disabled in the beginning I consider this inconsistency as a
bug. A selected tab is more or less disabled anyway as nothing happens
if you click on it.

You could try to unselect the selected tab and then disable it. You
need to make tabs deselectable for that via unselect option (what a
bad option name, going to change this for the 1.6 release).

$('#foo').tabs({ unselect: true });

And then you need to deselect it before disabling: $
('#foo').tabs('select', 0).tabs('disable', 0);

Question: How should a selected tab behave if it's being disabled?


--Klaus


On 6 Okt., 17:20, Sebastian Knapp <[EMAIL PROTECTED]> wrote:
> Hello,
>
> after some problems I'm on a good way to successful intagrate the tabs
> ui module into my current project.
> Unfortunatly one problem remains open. First a short description what
> I want.
>
> Some checkboxes are synchronized with a tabs interface. When a
> checkbox is checked the tab is enabed, if it is checked off, then the
> corresponding tab becomes disabled. I found an example, so I can start
> with all tabs disabled. But when I check all checkboxes off, the last
> tab is still enabled, perhaps because it is the selected tab.
>
> Is there an easy way to get this working?
>
> Thank you and greetings
> Sebastian Knapp
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to