Ah thank you very much, they way you wrote it made me understand what
i've red in the documentation, it is just 2 different ways to write
the same thing.
Thank you, you made my day.

On 9 fév, 21:39, Jörn Zaefferer <joern.zaeffe...@googlemail.com>
wrote:
> Assuming you use the default header: "a", add this:
>
> $("#accordion").accordion({
>   active: "a:last"
>
> });
>
> Jörn
>
> On Mon, Feb 9, 2009 at 7:41 PM, oobov <mr.oo...@gmail.com> wrote:
>
> > Hi there.
>
> > I don't know if it is the right place for that, sorry if not.
> > I have a newbie problem. I've red the documentation but i can't find
> > the solution.
>
> > I have a page with 3 accordions, based on the demo script, so i have:
>
> > jQuery().ready(function(){
> >                // simple accordion
> >                jQuery('#list1a').accordion({
> >                        animated: "easeslide",
> >                        autoheight: true
> >                });
> >                jQuery('#list1b').accordion({
> >                        animated: "easeslide",
> >                        autoheight: true
> >                });
> >                jQuery('#list1c').accordion({
> >                        animated: "easeslide",
> >                        autoheight: true
> >                });
> > });
>
> > By default, the first element of each accordions is the one open.
>
> > All i would like to do is to make the LAST one open at the beggining.
>
> > Thanx for your time.

Reply via email to