包含下拉菜单时,父菜单链接不起作用 [英] Parent menu link not working when dropdown menu included

查看:256
本文介绍了包含下拉菜单时,父菜单链接不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即使链接处于活动状态,当包含下拉菜单时,为什么父菜单链接也不起作用? 请参阅以下内容中的服务"菜单链接 http://demo.rjfkramer.com/

Why is the parent menu link not working when drop down menu is included even if link is active? See 'Services' menu link on http://demo.rjfkramer.com/

这是一个wordpress网站.

This is a wordpress website.

谢谢!

推荐答案

这是由于data-toggle属性所致,当存在多级链接时,它们父级"(第一级链接)将获得data-toggle="dropdown"属性因此他的链接href将不可用,您可以在此处阅读: http://getbootstrap.com/javascript#dropdowns

it's because of the data-toggle attribute, when there is more then one level of links they "parent" (first level link) get the data-toggle="dropdown" attribute so his link href will not be available, you can read about it here: http://getbootstrap.com/javascript#dropdowns

这篇关于包含下拉菜单时,父菜单链接不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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