开发者

a Cufon problem on a nested menu

开发者 https://www.devze.com 2023-04-07 22:58 出处:网络
I\'m building a nested navigation bar, here is the jsFiddle: http://jsfiddle.net/3Y8vB/1/ the nested menus are on the third item, \"Collezioni\": so far so good. But adding Cufon triggers a strange

I'm building a nested navigation bar, here is the jsFiddle:

http://jsfiddle.net/3Y8vB/1/

the nested menus are on the third item, "Collezioni": so far so good. But adding Cufon triggers a strange problem: "hovering" the nested menus and going away from them all the way down, the "Collezioni" link disappears!

http://jsfiddle.net/3Y8vB/2/

Well, it doesn't really disappear: it retains the #fff color (:hover) instead of going back to #111 (normal state), 开发者_运维问答and since the background is white too, it "disappears". Going all the way UP (without "hovering" the nested menus) has no problem.

I'm sure it's a Cufon related problem since the first version (without Cufon) is working nice.

Please, can you help to solve this? Thanks in advance


Ok, found the solution here:

https://github.com/sorccu/cufon/wiki/FAQ#wiki-faq-10

And here's the new jsFiddle:

http://jsfiddle.net/3Y8vB/3/

0

精彩评论

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