[英]cufon not working
@ geoffs3310:你意识到你已经注释的Cufon
出来的代码,对不对?
<!--<script src="js/cufon-yui.js" type="text/javascript"></script>
<script src="js/L_VAG_Rounded_Light_500-B_VAG_Rounded_Bold_500.font.js" type="text/javascript"></script>
<script type="text/javascript">
Cufon.replace('h1, h2');
</script>-->
更新
@ geoffs3310:我认为你的字体坏了...我刚刚从http://www.cufonfonts.com/下载了另一个来测试和使用上面的代码(未注释),使用@ kjy112的附加代码片段,让它运行起来。
添加<script type="text/javascript"> Cufon.now(); </script>
<script type="text/javascript"> Cufon.now(); </script>
到页面底部。
要查找的事项列表:
至于IE9,升级到Cufon 1.09i
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.