웹 사이트에서이 Cufon 글꼴을 사용할 수 없습니다. 코드에 문제가 있습니까? 코드 스크린 샷을 첨부했습니다. 태그를 사용하여 코드가 제대로 구현되지 않은 이유를 잘 모릅니다. Cufon 글꼴이 작동하지 않습니다. 누구든지 조언 해 주시겠습니까?
http://i.stack.imgur.com/K1DKS.jpg
내 코드에 문제가 있나요?웹 사이트에서이 Cufon 글꼴을 사용할 수 없습니다. 코드에 문제가 있습니까? 코드 스크린 샷을 첨부했습니다. 태그를 사용하여 코드가 제대로 구현되지 않은 이유를 잘 모릅니다. Cufon 글꼴이 작동하지 않습니다. 누구든지 조언 해 주시겠습니까?
http://i.stack.imgur.com/K1DKS.jpg
내 코드에 문제가 있나요?cufon js 파일을로드하지 않습니다.
여기 Cufon을 사용하는 방법은 다음과 같습니다
https://github.com/sorccu/cufon/wiki/Usage
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Playing with Cufón</title>
<!-- Stylesheets here, before all scripts. Helps avoid styling issues. -->
<link rel="stylesheet" type="text/css" href="style.css" />
<!--
If you want to use complex selectors with Cufón, load a selector engine (JavaScript framework) here.
We support jQuery, Sizzle, MooTools, Dojo, Prototype and other popular frameworks.
-->
<script src="cufon-yui.js" type="text/javascript"></script>
<script src="YourFont.font.js" type="text/javascript"></script>
<script type="text/javascript">
Cufon.replace('h1'); // Works without a selector engine
Cufon.replace('#sub1'); // Requires a selector engine for IE 6-7, see above
</script>
</head>
<body>
<h1>Your custom font here</h1>
<h2 id="sub1">Your custom font here too</h2>
<!-- To avoid delays, initialize Cufón before other scripts at the bottom -->
<script type="text/javascript"> Cufon.now(); </script>
<!-- Google Analytics and other scripts here -->
</body>
</html>
고마워요! 나는 완전히 그것을 간과했다. –
아무 걱정도, 도움이되기 때문에 기쁘다. –
당신은 cufon JS 파일을로드 아닙니다. –