开发者

Overwriting old sifr.js file results in uppercase text

I'm using sIFR 2.0.6 with the sifr.js file from 2.0.7 to 开发者_如何学Pythonresolve this issue: http://novemberborn.net/sifr/2.0.7.

In all browsers, before overwriting the sifr.js file, the sIFR displayed with initial caps. With the new sifr.js file in place, the text is all uppercased.

This is the only code I am customizing:

if(typeof sIFR == "function"){ sIFR(); sIFR.replaceElement(".sifr-container", named({sFlashSrc: "frutiger.swf", sColor: "#042e66", sCase: "lower", sWmode: "transparent", background-color: "transparent"})); };

sCase doesn't appear to be doing the trick. How else can I control the uppercasing?

Thanks!

  • Veda


You can't have background-color like that in the replacement syntax. You sure that's correct?

Try inspecting the Flash movie's embed element to see if the text is uppercase or normal case when going into the Flash movie. You might want to try recreating the Flash movie as well.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜