开发者

UI.tabs with Superfish menu

I'm using jquery.ui.tabs to create a carousel. On the same page is a superfish dropdown menu. Everytime I'm hovering over a menu item and the tabs switch, the menu closes if it's a submenu or flickers if it's a top-level menu.

See http://demos.za开发者_如何学Ctechcorp.com/mm/ for an example. How do I fix this?


Add the following to your CSS:

#global-nav ul.sub {
z-index: 9999;
}
#global-nav ul.products {
z-index: 9999;
}

That will give the dropdown lists the highest z-index on the page, and the transitions won't interfere with them anymore. Tested with Firebug and it seems to solve any flickering.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜