Magento 中的 Cufon 问题
我试图让 Cufon 在 Magento 中工作,但它并没有玩游戏。由于 Scriptaculous,jQuery 正在无冲突地运行,并且 Cufon 正在正确初始化(在标记中生成就绪标签),但仍然没有发生字体转换。使用的字体已经应用到同一域的不同目录中的模型上,所以我很困惑这可能是什么。
另外 - 有人知道 IE 中对 Cufon.now() 的调用会去哪里吗?还没有在 Magento 中找到真正的页脚(inc.)!
任何建议将不胜感激。
I'm trying to get Cufon working in Magento and it's not playing the game. jQuery is running in no-conflict due to Scriptaculous, and Cufon is initalising correctly (generating ready tags in the markup), though still no font transformations occur. The fonts in use are already applied on a mock up in a different directory on the same domain, so I'm very confused at to what could be the root of this.
Also - does anyone have any idea at all where the call to Cufon.now() would go for IE? Havn't found the true footer (inc. ) in Magento yet!
Any advice would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可以尝试以下几件事:
(否则JS路径似乎会转换
到我的浏览器的本地路径
不喜欢!)
您对文件设置的限制
当使用 Cufon 发生器时
荣幸。不然库丰就会死
默默。我已经浪费了很多时间
因为这!
祝你好运,
京东
A couple of things to try:
(otherwise JS paths seem to convert
to local paths which my browsers
don't like!)
restrictions you placed on the file
when using the Cufon generator are
honoured. If not, Cufon will die
silently. I've lost many hours
because of this!
Good luck,
JD