Posted By

mikemetcalf on 11/04/09


Tagged

nav activee


Versions (?)

Active class on nav hover


 / Published in: jQuery
 

  1. <script type="text/javascript">
  2. jQuery(document).ready(function($){
  3. $("#nav li").hover(
  4. function () {
  5. $(this).addClass('active');
  6. },
  7. function () {
  8. $(this).removeClass('active');
  9. }
  10. );
  11. });
  12. </script>

Report this snippet  

You need to login to post a comment.