Return to Snippet

Revision: 35113
at November 2, 2010 20:27 by raz


Initial Code
<script type="text/javascript">
        $(document).ready(function() {
            $("ul > li > a").hover(function() {
                $(this).addClass("hover");
                $(this).parent().parent().parent().children("a").addClass("hover");

            }, function() {
                $(this).removeClass("hover");
                $(this).parent().parent().parent().children("a").removeClass("hover");
            });
        });
    </script>

Initial URL
http://forums.asp.net/t/1456335.aspx

Initial Description

                                

Initial Title
jQuery menu - keep parents highlighted - css menu

Initial Tags
class

Initial Language
jQuery