如何使 superfish 下拉菜单响应? [英] How to make superfish dropdown menu responsive?

查看:24
本文介绍了如何使 superfish 下拉菜单响应?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用带有 skelton 框架的 superfish 下拉菜单.我希望它也适用于手机.默认情况下,它显示下拉项目,但将鼠标悬停在其下方的项目上.我想以某种方式拥有它,以便将父项推到其下方.有什么解决办法吗?

I am using superfish dropdown menu with skelton framework. I wanted it to work on mobiles as well. By default its showing the dropdown items but it hover over the items below it. I wants to have it in a way so that it push parent items below it. Any solution?

推荐答案

更新:查看 Ryan Brackett 的回答

Update: See the answer by Ryan Brackett

下拉菜单在移动设备上效果不佳.我建议在移动设备上隐藏超级鱼菜单并用其他东西替换它.

Dropdown menus don't work well on mobile. I would suggest hiding the superfish menu on mobile and replacing it with something else.

资源:画布外

http://www.lukew.com/ff/entry.asp?1569

http://www.zurb.com/playground/off-canvas-layouts

移动导航模式

http://bradfrostweb.com/blog/web/responsive-nav-patterns/

对于寻求解决方案的其他人,请确保您使用的是最新的 jQuery.我在一些较旧的网站上发现使用较新版本的 jQuery 使 Superfish 菜单可以在移动设备上运行.

For others looking for a solution, make sure you are using the newest jQuery. I had some older sites where I found using a newer version of jQuery made the Superfish menus work on mobile devices.

这篇关于如何使 superfish 下拉菜单响应?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆