On Thu, Dec 17, 2009 at 12:53 AM, Bob Eastbrook <baconeater...@gmail.com>wrote:

> On Thu, Dec 10, 2009 at 3:14 AM, Richard D. Worth <rdwo...@gmail.com>
> wrote:
>
> > The h3 isn't the last child. It's followed by a div.
> >
> > - Richard
>
>
> Ah, good point!  I still can't quite get it though.  Shouldn't this work?
>
> $("#accordion").accordion({ active: "#accordion h3:last-child div" });
>
> Bob
>
> --
>

That would be selecting a div inside of an h3 which is still not the
last-child.  Instead what I think you want is the last h3.  So doing
.accordion({ active: "h3:last" }) would activate the last panel.

--

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