jQuery Mobile下拉菜单导致页面重新加载 [英] jQuery Mobile Drop Down Menu Causing Page Reload

查看:77
本文介绍了jQuery Mobile下拉菜单导致页面重新加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在此开发Wordpress网站上有一个下拉菜单: http://zap2dev.redzephyr.biz/移动菜单似乎运行良好,但是在按下移动菜单图标后,菜单显示,并迅速开始重新加载页面.显然,重新加载后,移动菜单再次折叠起来,因此开始了恶性循环.

I have a drop down menu on this development Wordpress site: http://zap2dev.redzephyr.biz/ the mobile menu appears to be working fine however upon pressing the mobile menu icon the menu displays and promptly the page begins reloading. Obviously on reload the mobile menu is collapsed again so begins the vicious cycle.

有什么想法可能导致页面重新加载?

Any ideas what could be causing the page to reload?

任何帮助将不胜感激.

推荐答案

<a class="navicon mtoggle" href="">更改为<div class="navicon mtoggle"> 然后更新您的CSS

Change <a class="navicon mtoggle" href=""> to <div class="navicon mtoggle"> then update your css

nav#mobile .navicon{
cursor:pointer;
}

这篇关于jQuery Mobile下拉菜单导致页面重新加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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