Concrete5 CMS で Web サイトを開発しています。スーパーフィッシュ メニューをセットアップしましたが、すべて正常に機能しています...「編集モード」でない場合。
これが私のコードです:
$('.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
});
--
ページを編集していないとき、スーパーフィッシュは次のように機能します。
にカーソルを合わせると.breadcrumb-nav .inner > ul > li
、クラスが に追加sfHover
され.breadcrumb-nav .inner > ul > li
ます。- 予想通り
--
編集モードにすると、何らかの理由で次のようになります。
にカーソルを合わせると.breadcrumb-nav .inner > ul > li
、クラスが に追加sfHover
され.breadcrumb-nav .inner > ul
ます。- 個々のリスト アイテムではなく、親アイテム。
--
誰かがこの問題に光を当ててくれることを願っています。現時点ではリンクを提供することはできませんが、後で Web サイトがオンラインになったときに提供します。
ありがとう!