DD_belatedPNG ve Opera cufon ile çatışma sahip DD_roundies

0 Cevap php

Dd_belatedPNG ve dd_roundies ile cufon kullanırken ben opera garip bir sorunla karşı karşıya duyuyorum.

every thing works fine in every browser execept opera. Once I remove below two lines it cufon works with opera as well. but I need dd_roundies and png fix as well.

<script type="text/javascript" src="/js/DD_belatedPNG_0.0.8a-min.js"></script>
<script type="text/javascript" src="/js/DD_roundies_0.0.2a-min.js"></script>

But I need to make cufon work with dd_roundies and png fix. no javascript error. every thing works fine in all browsers except opera.

Herhangi bir fikir?

Burada bütün test sayfası kodu

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<script type="text/javascript" src="/js/cufon.js"></script>
<script type="text/javascript" src="/fonts/3/ergoe-light-cufon.js"></script>

<script type="text/javascript" src="/js/DD_belatedPNG_0.0.8a-min.js"></script>
<script type="text/javascript" src="/js/DD_roundies_0.0.2a-min.js"></script>

<style>
h1 {font-size:136px;}
</style>
</head>

<body>
<h1>Test Heading</h1>

<script>
 Cufon.set('fontFamily', 'ErgoeLight').replace('h1');
</script>

</body>

</html>

0 Cevap