Posted By

erraja_07 on 06/30/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Lloyd


JS Mouse Hover changes (drop downs)


 / Published in: jQuery
 

  1. $(document).ready(function () {
  2.  
  3. $('#nav li').hover(
  4. function () {
  5. //show its submenu
  6. $('ul', this).slideDown(100);
  7. $('.li_heading').css('z-index','500');
  8. },
  9. function () {
  10. //hide its submenu
  11. $('ul', this).slideUp(100);
  12. $('.li_heading').css('z-index','0');
  13. }
  14. );
  15.  
  16. });

Report this snippet  

You need to login to post a comment.