Answers for "open submenu jquery"

1

open submenu jquery

$('.nav li > .sub-menu').parent().hover(function() {
  var submenu = $(this).children('.sub-menu');
  if ( $(submenu).is(':hidden') ) {
    $(submenu).slideDown(200);
  } else {
    $(submenu).slideUp(200);
  }
});
Posted by: Guest on November-25-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language