AI助手支持GPT4.0
Navigation dropdown menus are widely used, especially on sites with lots of pages and/or categories, as they allow to navigate directly to almost every page of the site, with no need to navigate through all the intermediate pages in the hierarchy.
“导航”下拉菜单被广泛使用,尤其是在具有许多页面和/或类别的站点上,因为它们允许直接导航到站点的几乎每个页面,而无需导航层次结构中的所有中间页面。
Unfortunately dropdown menus do not work well with mobile / touch devices, because the “mouseover” event is not handled, so when the user click a top level menu, the browser follows the link instead of opening the dropdown menu.
不幸的是,下拉菜单不适用于移动/触摸设备,因为未处理“ mouseover”事件,因此,当用户单击顶级菜单时,浏览器会跟随链接而不是打开下拉菜单。
This plugin is a solution for that situation.
该插件是针对这种情况的解决方案。
On touch devices, the first click / tap on a top level menu (or, in general on any menu with children) only expands the nested dropdown menu, while the second one brings to the link.
在触摸设备上,第一次单击/轻击顶层菜单(或通常在带有子菜单的任何菜单上)只会展开嵌套的下拉菜单,而第二个则进入链接。
This is the same behavior natively adopted by iPad / iPhone starting from iOS version 5, so this plugin is intended to work with previous versions of iOS and with other mobile platforms that do not have such native behavior (Android, Windows, etc).<
从iOS版本5开始,此行为与iPad / iPhone固有地采用的行为相同,因此此插件旨在与iOS的早期版本以及不具有此类行为的其他移动平台(Android,Windows等)一起使用。
/p>
/ p>
li>
rel="nofollow">Facebook, LinkedIn and LinkedIn 和
https://github.com/black-studio" rel="nofollow">GitHub
https://github.com/black-studio“ rel =” nofollow“> GitHub li>
ul>
>.
>。 li>
or making a donation.
或进行捐赠。 li>
>
This plugin was inspired by the article 此插件的灵感来自于"nofollow">“Make CSS drop-down menus work on touch devices” written by Ross McKay, although it uses a totally different javascript code.由Ross McKay编写的“ nofollow“>“使CSS下拉菜单在触摸设备上工作” ,尽管它使用完全不同的javascript代码。 p>
此插件的灵感来自于"nofollow">“Make CSS drop-down menus work on touch devices” written by Ross McKay, although it uses a totally different javascript code.
"nofollow">“Make CSS drop-down menus work on touch devices”
由Ross McKay编写的“ nofollow“>“使CSS下拉菜单在触摸设备上工作”
This section describes how to install and use the plugin.
本节介绍如何安装和使用插件。 p>
Plugins
Add New
black-studio-touch-dropdown-menu
Plugins code>菜单和 Add New code>按钮自动安装(或将整个 black-studio-touch-dropdown-menu code>文件夹上传到the /wp-content/plugins/ directory)
Add New code>按钮自动安装(或将整个 black-studio-touch-dropdown-menu code>文件夹上传到the /wp-content/plugins/ directory)
black-studio-touch-dropdown-menu code>文件夹上传到the /wp-content/plugins/ directory)
the /wp-content/plugins/ directory)
/wp-content/plugins/
/ wp-content / plugins / code>目录) li>Activate the plugin激活插件 li>This plugin has no options, it only modifies the behavior of navigation dropdown menus, by including a javascript file on the frontend of your site此插件没有选项,它仅通过在网站的前端添加一个javascript文件来修改导航下拉菜单的行为 li>
ol>
原文出处:http://www.sanshu.cn/a/4764.html
群主管理都是支付大佬