Yes, I should have stated that more clearly -- each accordion has its
own unique id: accordion1, accordion2 ... I think you're correct that
the tab event needs to initialize the accordion to the proper starting
condition.

The problem I'm facing is that in the hidden tabs, the accordion is
being initialized to style="height: 0;", so the accordions won't open.
This only occurs for accordions of fixed height. However, for
accordions that size themselves to the height of their content, it
works OK.

I found elsewhere that others have faced the problem, but I haven't
yet found the fix. I'm a jQuery newbie and don't know how I can get
the tab event to init the accordion to the desired height (I'd like to
make it 100% of the tab div in which it's contained).

On May 17, 7:01 pm, intrader <intrader.intra...@gmail.com> wrote:
> I presume that each accordion has its own id. There should be no
> problem, but you may need to hook the tab events to initialise the
> accordion to the proper starting condition depending on tab
>
> On May 16, 2:50 pm, weheh <richard_gor...@verizon.net> wrote:
>
> > My page has multiple tabs, and under each tab, an accordion with
> > multiple headers. How can this be done? Since accordion is an id, I
> > suspect it isn't possible.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "jQuery UI" group.
> > To post to this group, send email to jquery...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > jquery-ui+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/jquery-ui?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "jQuery UI" group.
> To post to this group, send email to jquery...@googlegroups.com.
> To unsubscribe from this group, send email to 
> jquery-ui+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/jquery-ui?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.

Reply via email to