开发者

Getting cufon to work in IE7 & IE8 - I've done everything according to doc?

For the life of me, I c开发者_开发问答an't figure out why Cufon isn't working for me in IE7 & 8 (it probably doesn't with IE6 or lower either, but I'm not concerned about that).

So far I've tried:

  • Adding the function Cufon.now();.
  • Placing $(document).ready( function() {}); around my Cufon.replace(); function.
  • Re-generating the font-name.js file with the official Cufon website.
  • Isolating the text I want replaced and relevant CSS/JS into a separate file to see if it makes a difference.
  • Adding the font-family: [NAME] self assigned in the Cufon font generator to the font-family: property of the element I want replaced.

For the life of me, I can't figure out why it's not working.

Here's a link to my isolated script on jsFiddle: http://jsfiddle.net/Xzv2X/1/

Does anyone know of any other common errors that could possibly be the issue here?

Just a note, I'm using Adobe Browser Labs as my IE7 & IE8 previewer.

Any comments would be greatly appreciated :) :) :), as this is really starting to get to me, as I've read at least 5 different webpages (including Cufon's own GitHub FAQ) that says it's compatible with IE5+.


Try

  1. Removing type="application/javascript"
  2. Not nesting head inside of <body>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜