Return to Snippet

Revision: 33238
at October 7, 2010 04:47 by spraitas


Initial Code
jQuery(document).ready(function(){
  jQuery(".menu-item ul").hide();
  jQuery(".current-menu-item").parents("ul, li")
  .map(function () {
    jQuery(this).show();
  });
  jQuery(".current-menu-item ul:first").show();
});

Initial URL

                                

Initial Description

                                

Initial Title
Wordpress submenu

Initial Tags
wordpress, jquery

Initial Language
JavaScript