jQuery 可点击下拉列表的 Smartmenus 父项 bootstrap 网站
jQuery Smartmenus parent item of dropdown clickable bootstrap website
我有 this Bootstrap 3 website. I use jQuery Smartmenus 菜单。我希望父项目在下拉链接上是可点击的。我以为我以前有这个工作,但现在父项目不可点击。
如何使用 jQuery Smartmenus 插件使我的 Bootstrap 主题中的父项目可点击?
在sites/all/themes/bootstrap/templates/menu/menu-link.func.php
注释掉第 43 行:
// $element['#localized_options']['attributes']['class'][] = 'dropdown-toggle';
注释掉第 44 行:
// $element['#localized_options']['attributes']['data-toggle'] = 'dropdown';
我有 this Bootstrap 3 website. I use jQuery Smartmenus 菜单。我希望父项目在下拉链接上是可点击的。我以为我以前有这个工作,但现在父项目不可点击。
如何使用 jQuery Smartmenus 插件使我的 Bootstrap 主题中的父项目可点击?
在sites/all/themes/bootstrap/templates/menu/menu-link.func.php
注释掉第 43 行:
// $element['#localized_options']['attributes']['class'][] = 'dropdown-toggle';
注释掉第 44 行:
// $element['#localized_options']['attributes']['data-toggle'] = 'dropdown';