jQuery dropdown menu

Posted by sdfkjfvfdijgvndfkj on Stack Overflow See other posts from Stack Overflow or by sdfkjfvfdijgvndfkj
Published on 2010-12-24T01:56:09Z Indexed on 2010/12/24 12:54 UTC
Read the original article Hit count: 336

Filed under:

I have a navbar, a ul with the id of menu that I want to turn into a dropdown menu. There are uls in each li, and each ul has the class sublist, which in the CSS has a display value of none, but with the jQuery below even though I hover over it, the ul won't show. I'm 12 and what is this?

        $(document).ready(function(){
            $('#menu li').hover(function(){
                $('.sublist').slideDown(200);
            });
        });

© Stack Overflow or respective owner

Related posts about jQuery