私は、グラハムがこのトピック(http://j.mp/cy6IRR)で共有している手法を試していますが、ここで非常に骨の折れることをしていることを知っています。このCufonの問題にうまく対処している誰かから助けを得たいと思っています。すべてのブラウザでちらつきが見られます。
CufonJSコールイン
function initCufon() {
Cufon.replace('#content h2', { fontFamily: 'Liquorstore'});
Cufon.now();
$("#content h2").css("z-index","0");
}
$(document).ready(function(){
initCufon();
});
CSS
#content h2{
margin:0;
font-size:36px;
line-height:36px;
color:#980037;
width:100%;
overflow:hidden;
}
.js #content h2{text-indent:-9999px;}
HTML
<!-- main content -->
<div id="content">
<!-- content heading -->
<div class="main-heading">
<h2>Page Title</h2>
<script>document.documentElement.className = 'js';</script>
<!--NOTE: I forgot to add the line above in my original question post-->
PS私はStackOverflowを初めて使用します。これを促したスレッドに投稿することになっていた場合は、教えてください。それは確かに「答え」ではないので、私はそうではないと思います!
前もって感謝します!