Excellent, it's perfect!!
I'm just wondering why on the jquery UI documentation says -1 instead
of false?

On 18 Feb, 11:34, "Richard D. Worth" <[email protected]> wrote:
> If you specify alwaysOpen: false, then you can do .accordion('activate',
> false)
>
> - Richard
>
> On Wed, Feb 18, 2009 at 5:28 AM, adexcube <[email protected]> wrote:
>
> > Hi, I'm using this option to open programmatically a menu option by
> > getting the value from the url because I'm developing an ajax
> > accordion menu and works:
>
> > var menuItem=$("a[href="+menuSelected+"]");
> > $('#navigation').accordion( 'activate' , menuItem.parents
> > ("ul").siblings(".head"));
>
> > what I'm trying to do is close that previous item when I click on
> > other menu items, is there an 'inactivate' method to close it?
>
> > Thanks
>
>
--~--~---------~--~----~------------~-------~--~----~
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