Well, in that case you will first have the default tab selected and
then hide it immediately, which is inefficient. I suggest to use the
code I've posted.

--Klaus


On 12 Jan., 06:01, fizzystutter <[email protected]> wrote:
> Hi Klaus,
>
> Thanks for the reply, I got the functionality working with:
>
> $("#tabs").data('selected.tabs', null);
>
> Regards
> James
>
> On Jan 9, 9:50 pm, Klaus Hartl <[email protected]> wrote:
>
> > $('#example').tabs({ selected: null });
>
> > Please have a look at the documentation, where such information can be
> > found as well - there is an example called "Sets all tabs unselected
> > on initialization", see the options 
> > tab:http://docs.jquery.com/UI/Tabs/tabs#options
>
> > If the documentation is unclear, let us know how to improve it.
>
> > --Klaus
>
> > On 9 Jan., 12:08, fizzystutter <[email protected]> wrote:
>
> > > Hi,
>
> > > I'm sure this is a breeze for you guys.
>
> > > I've started to use the Tabs functionality on a page, but instead of
> > > one of the tabs being open on page load, I want them all to be
> > > closed / collapsed.
>
> > > Does anyone know how to do this ?
>
> > > Thanks
> > > James- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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