/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<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>
URL: http://forums.asp.net/t/1456335.aspx