Cufon.now() not working

601 views
Skip to first unread message

Brian

unread,
Dec 17, 2009, 2:46:48 PM12/17/09
to cufón
Are there any known circumstances in which Cufon.now() fails to
prevent the flicker issue in IE? With the following in my document
head:

<script type="text/javascript" src="/js/cufon.js"></script>
<script type="text/javascript" src="/js/Metro_400.font.js"></script>
<script type="text/javascript">Cufon.replace('h1');</script>

And this just before the closing </body> tag:

<script type="text/javascript"> Cufon.now(); </script>

...I'm still seeing the flicker of unstyled content in IE 8. Hoping
I'm overlooking something simple...

Thanks for any help you can offer!

Gareth Evans

unread,
Dec 17, 2009, 10:11:29 PM12/17/09
to cu...@googlegroups.com
Can you provide a link to the problem?
If you don't want to paste it here, please send it to Simo direct.
You should be able to find his address in the mailing list.
I haven't encountered any problems with this in IE8 except when dynamically loading content. (e.g. with AJAX request)
 
Gareth

 

--

You received this message because you are subscribed to the Google Groups "cufón" group.
To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cufon+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cufon?hl=en.



Simo Kinnunen

unread,
Dec 20, 2009, 7:42:34 PM12/20/09
to cu...@googlegroups.com

Rashmirekha

unread,
Dec 30, 2009, 5:58:17 AM12/30/09
to cufón
Hi,

We are running a site and used cufon but it is not appearing in IE6
and IE7 as the documentation says.

Can you please help us?

The name of the site is www.ameodia.com

Best regards,
Rashmi

> > cufon+un...@googlegroups.com <cufon%2Bunsu...@googlegroups.com>.

Gareth Evans

unread,
Jan 4, 2010, 10:08:29 PM1/4/10
to cu...@googlegroups.com
Hi Rashmirekha
 
It looks like you haven't included a selector engine which is required for older browsers to apply cufon on selectors that are not a single tag name.
Your selector in your document is currently  Cufon.replace('h1,h2,h3,p,ul,LI'); which will only work in IE 8, Firefox 3.5 and Safari 3.2+.
Please see the following url for some more information including an explaination of how to fix it. (include a selector engine such as sizzle, prototype, jquery etc)
http://wiki.github.com/sorccu/cufon/faq#faq-1
If you don't want to include a selector engine, you could expand your cufon.replace statement into multiple calls e.g. Cufon.replace('h1'); Cufon.replace('h2'); ...
 
Gareth
To unsubscribe from this group, send email to cufon+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages