i guess the submenu dissapears 'cause you leave the menu item and
don't "hover over it" anymore.
maybe use mouseover() and mouseout() like that:

$(document).ready(function(){
                        $("#trzy").mouseover(
                          function(){
                                $('#dwaOver').animate({
                                        opacity: 1
                                }, 200);
                          });
                          $("#dwaOver").mouseout(function(){
                                $('#dwaOver').animate({
                                        opacity: 0
                                }, 100);

                          }
                        );

        })

-weidc
On 17 Sep., 16:29, "pawel.szymula" <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm having some problems - i'm sure they're lame, but i can't handle
> with them by myself. Any help really appreciated :)
>
> So, here's the problem:
>
> I'm moving mouse over menu item, then a submenu (beneath the main
> menu) shows up. I'd like to move mouse around the submenu, but it
> dissapears.
>
> How to make submenu visible (and clickable, because it contains an
> unsorted list) and make it dissapear after moving mouse out from it?
>
> Here's the code:
>
>         $(document).ready(function(){
>                         $("#trzy").hover(
>                           function(){
>                                 $('#dwaOver').animate({
>                                         opacity: 1
>                                 }, 200);
>                           },
>                           function(){
>                                 $('#dwaOver').animate({
>                                         opacity: 0
>                                 }, 100);
>
>                           }
>                         );
>
>         })
>
> BTW. Sry for my english

Reply via email to