Try to replace "mouseout" with "mouseleave".
Jörn
On Tue, Dec 9, 2008 at 10:54 PM, Maikel Zwart <[EMAIL PROTECTED]> wrote:
>
> Yes this just the I was looking for!!, but wat happens now is that
> when you mouse over a sub item the panel closes..
>
> This is my code for the accordion (with your fix in it)
>
> $('#navigation2').accordion({
> active: false,
> header: '.head',
> navigation: false,
> event: 'mouseover',
> fillSpace: false,
> alwaysOpen: false,
> animated: 'easeslide'
> }).mouseover(function(){
> $('#menu2').removeClass("under").addClass("over");
> }).mouseout(function() {
> $(this).accordion("activate", false);
> $('#menu2').removeClass("over").addClass("under")
> });
>
> You can see this in action http://asre.archdev.nl
>
> tnx for your reply!
>
> On 9 dec, 19:44, "Jörn Zaefferer" <[EMAIL PROTECTED]>
> wrote:
>> Something like this?
>>
>> $("...").accordion({
>> alwaysOpen: false}).mouseout(function() {
>>
>> $(this).accordion("activate", false);
>>
>> });
>>
>> Jörn
>>
>>
>>
>> On Tue, Dec 9, 2008 at 2:15 PM, Maikel Zwart <[EMAIL PROTECTED]> wrote:
>>
>> > Hello I'm new to Jquery and working on an accordion menu (Jquery UI).
>>
>> > The things is that I want it to close on mouse out.
>>
>> > I hope that someone can help me...
>>
>> > tnx in advance.
>>
>> > greetings, Maikel- Tekst uit oorspronkelijk bericht niet weergeven -
>>
>> - Tekst uit oorspronkelijk bericht weergeven -
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---