Menu icon Foundation

My Posts


My Comments

Marco Messa commented on Alexander Graham's post over 3 years

My solution is different, I hooked on show.zf.dropdownmenu and hide.zf.dropdownmenu events and edit css and animate dropdowns:

 $('#primary-menu').on(
    'show.zf.dropdownmenu', function() {
      var dropdown = $(this).find('.is-dropdown-submenu');
      dropdown.css('display', 'none');
      dropdown.fadeIn('fast');
  });
  $('#primary-menu').on(
    'hide.zf.dropdownmenu', function() {
      var dropdown = $(this).find('.is-dropdown-submenu');
      dropdown.css('display', 'inherit');
      dropdown.fadeOut('fast');
  });

Posts Followed


Following

    No Content

Followers

My Posts


My Comments

You commented on Alexander Graham's post over 3 years

My solution is different, I hooked on show.zf.dropdownmenu and hide.zf.dropdownmenu events and edit css and animate dropdowns:

 $('#primary-menu').on(
    'show.zf.dropdownmenu', function() {
      var dropdown = $(this).find('.is-dropdown-submenu');
      dropdown.css('display', 'none');
      dropdown.fadeIn('fast');
  });
  $('#primary-menu').on(
    'hide.zf.dropdownmenu', function() {
      var dropdown = $(this).find('.is-dropdown-submenu');
      dropdown.css('display', 'inherit');
      dropdown.fadeOut('fast');
  });

Posts Followed

Following

  • No Content

Followers

  • No Content