Linux 软件免费装
Banner图

jQuery Responsive Select Menu

开发者 McGuive7
MIGHTYminnow
更新时间 2021年6月22日 02:09
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 5.7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

responsive menu jQuery mobile navigation android drop-down select iPhone tablet phone

下载

1.0 1.3 1.3.1 1.1 1.2 1.4 1.4.1 1.4.2 1.5.0

详情介绍:

Do you find this plugin helpful? Please consider leaving a 5-star review. The perfect solution to make your site responsive for mobile devices like phones and tablets. jQuery Responsive Select Menu lets you make your WordPress menus responsive by turning them into drop-down <select> elements below a width of your choosing. 产品特点 Translations/Languages Banner photo by Susannah Kay.

安装:

Installation
  1. Install and activate the plugin.
  2. Configure the plugin via 設定 > jQuery Responsive Select Menu.
Settings Menu Container(s) Class / ID\ For each menu you wish to make responsive, enter the class or ID of an element containing that menu's <ul> element. For example, say you have the following HTML markup: You could enter .nav-primary or even .nav-primary .wrap for the Menu Container(s) Class / ID setting. If you have multiple menus you'd like make responsive, simply enter a comma-separated list. Note: you may need to use a tool like Chrome inspect or Firebug to determine the appropriate class / ID for your menus. Maximum Menu Width\ The width at which you want your normal menu to switch to the responsive, drop-down select menu. Sub Item Spacer\ The character used to denote sub-items in your drop-down select menus. First Term\ The text for the select menu's top-level "dummy" item. If left blank, the drop-down select's item will be the first item in your normal navigation menu. Show Current Page\ If checked, your drop-down select menu will show the current page. If unchecked, the menu will display the top-level "dummy" item. Omit Placeholder Items\ If checked, the generated drop-down menu won't include any menu items whose href attribute is empty or "#".

屏幕截图:

  • Normal WordPress navigation.
  • Responsive select / drop-down menu at user-specified mobile width.
  • Sample first item and sub-item spacer at responsive / mobile sizes.

升级注意事项:

1.5.0
  • Add Russian translation.
1.4.2
  • Improve behavior for menu links with empty or # href.
1.4.1
  • Fixed jQuery bug with extra comma that affected older browsers.
  • Updated translations.
1.4
  • Added fix for bug in which current page was not indicated (now targets both current_page_item and current-menu-item).
  • Fixed flash of unstyled content issue - now adding html “jquery” class immediately.
  • Added admin option to “disable” placeholder (href=“#”) menu links.
  • Fixed typo in description.
  • Switched from attr() to prop() for better jQuery semantics.
1.3.1
  • Added German translation (thanks to Ov3rfly).
  • Fixed bug in which translations weren’t being applied.
  • Properly prefixed jQuery variable passed from PHP.
  • Switched from plugins_init to plugins_loaded hook.
1.3
  • Added Spanish translation (thanks to Andrew Kurtis).
1.2
  • Added ability to omit empty "placeholder" menu items from the drop-down menu.
  • Add unique class to each generated menu (e.g. jrsm-1).
1.1
  • Minor jQuery modification to prevent JS error when no container is selected.
1.0 First Release

更新日志:

1.5.0 1.4.2 1.4.1 1.4 1.3.1 1.3 1.2 1.1 1.0