jQuery 菜单插件:jVanilla Menu

jopen 10年前

jVanilla 是一款菜单类的 jQuery 插件,可以将现有的纯 CSS 下拉菜单添加各种功能。包括:

  • Animations when showing submenus
  • Support one submenu level
  • Timed delay on mouseout
  • Top level menu links can be inactive (on hover effect)
  • Last submenu right-aligned

用法:

$(document).ready(function (){      $('.menu-hover').jVanilla({          speed               : 50,       // speed in milliseconds                                           // of the opening animation          animation           : 'fading', // type of the animation                                           // fading || sliding          eventType           : 'hover',  // type of event that trigger                                          // animation hover || click          delay               : 100,      // the delay in milliseconds that                                           // the mouse can remain outside                                           // the submenu without it closing          isHoverClickable    : false,    // set to true if you want to enable                                           // the click on the first level link          isLastRightAlign    : true      // set to false if you want to align                                           // left the last submenu      });  });

jQuery 菜单插件:jVanilla Menu















项目主页:http://www.open-open.com/lib/view/home/1390465571836