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