Jquery Superfish在Concrete5编辑模式下向父项添加悬停类

Jquery Superfish在Concrete5编辑模式下向父项添加悬停类,jquery,css,hover,superfish,concrete5,Jquery,Css,Hover,Superfish,Concrete5,我正在开发一个关于Concrete5CMS的网站。我已经设置了一个超级菜单,一切都正常运行。。。当我不在“编辑模式”时 这是我的密码: $('.breadcrumb-nav .inner > ul').superfish({ hoverClass: 'sfHover', // the class applied to hovered list items delay: 500, // the delay

我正在开发一个关于Concrete5CMS的网站。我已经设置了一个超级菜单,一切都正常运行。。。当我不在“编辑模式”时

这是我的密码:

$('.breadcrumb-nav .inner > ul').superfish({
    hoverClass:    'sfHover',          // the class applied to hovered list items
    delay:         500,                // the delay in milliseconds that the mouse can remain outside a submenu without it closing
    animation:     {opacity:'show'},   // an object equivalent to first parameter of jQuery’s .animate() method. Used to animate the submenu open
    animationOut:  {opacity:'hide', height: 'toggle'},   // an object equivalent to first parameter of jQuery’s .animate() method Used to animate the submenu closed
    speed:         'fast',           // speed of the opening animation. Equivalent to second parameter of jQuery’s .animate() method
    speedOut:      'fast',             // speed of the closing animation. Equivalent to second parameter of jQuery’s .animate() method
    cssArrows:     true               // set to false if you want to remove the CSS-based arrow triangles
});
--

当我不编辑页面时,superfish的工作原理如下:

将鼠标悬停在
.breadcrumb nav.inner>ul>li
上,将类
sfHover
添加到
.breadcrumb nav.inner>ul>li
-不出所料

--

当我处于编辑模式时,由于某种原因会发生以下情况:

将鼠标悬停在
.breadcrumb nav.inner>ul>li
上,将类
sfHover
添加到
.breadcrumb nav.inner>ul
-父项而不是单个列表项

--

我希望有人能解释一下这个问题。我目前无法提供链接,但我会在网站上线后提供


谢谢

我不确定,但在编辑模式下,C5添加的某些内容可能也在使用您正在使用的类名?也许可以尝试更改您的类名(在导航菜单标记、CSS和superfish初始化javascript代码中)——例如,将
.breadcrumbNav
更改为
.site breadcrumbNav
(只是一个示例)。C5在不污染类名方面通常很好(大多数添加C5的东西都以
ccm-
作为前缀),但偶尔会有一些东西漏掉。

谢谢你的建议。我不认为这是我的问题。我仔细检查了一下以防万一。我现在有一个在线开发副本的链接。如果你有兴趣看一看,我可以提供一个链接给你。让我知道。