Joomla Menu Dropdowns

/ Published in: jQuery
Save to your folder(s)

jQuery to make Joomla-format menu dropdowns appear on hover. Change "#mainnav" to menu container selector.

Copy this code and paste it in your HTML
  1. $('#mainnav .parent').hover(function(){
  2. $('> ul', this).stop().removeAttr('style').show(200);
  3. },function(){
  4. $('> ul', this).stop().hide(200);
  5. });

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.