开发者

Cufon menu not appearing on IE7

Hi I am using Cufon on my Wordpress site and everything is fine except a menu on IE6 and IE7. On every other browser it looks fine. The code I am using for menu is:

<div id="meni">
      <ul>
        <li class="home" title="Return to Homepage"><a href="home">HOME</a></li

etc..

Cufon code in the head is:

Cufon.replace('#meni', {hover: true} ); Cufon.replace('#meni ul li a', {hover: true} ); Cufon.replace('.home a', {hover: true} );

As you can see I have tried different selectors but it still do开发者_如何转开发es not work.

Any help please...

Thanks.


Had the same issue. As long as Cufon's selectors are (less or more) js framework dependent IE7 is having issues matching certain elements. In my case CUFON was loaded before jQuery. Had to reorder to make sure jQuery is present when CUFON fw is loaded.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜