Posted By

sebikovacs on 07/08/10


Tagged

menu drop down


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

jfherring
innerstorm


Menu>submenu


 / Published in: jQuery
 

  1. $('a').hover(function(){
  2. var parent = $(this).parent();
  3. $('.submenu', parent).show();
  4. }, function(){
  5. var parent = $(this).parent();
  6. $('.submenu', parent).hide();
  7. });
  8. $('.submenu').hover(function(){$(this).show();}, function(){$(this).hide();});

Report this snippet  

You need to login to post a comment.