PhotoDune

How to prevent Cufon replacement flashing of content?

762 posts
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Serbia
  • Has been a member for 4-5 years
rvision_ says

Hi,

a buyer is complaining about Cufon replacement being slow in IE8 …

I’m not sure how to deal with this – do you have any idea how to prevent font replacement from flashing? Is this some variation of ‘Flash of unstyled content’?

Thanks, FT

960 posts
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
  • United Kingdom
jeffeatworld says

Is it being loaded at the top or bottom of the page (markup). I’ve had issues with leaving the scripts until the very end so try sticking them up top.

156 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 5 000 and 10 000 dollars
peex says
Hi,

a buyer is complaining about Cufon replacement being slow in IE8 …

I’m not sure how to deal with this – do you have any idea how to prevent font replacement from flashing? Is this some variation of ‘Flash of unstyled content’?

Thanks, FT

Well maybe your buyer’s internet connection is slow. Try CSS3 font replacement. But in fact you don’t have to do anything. This is buyer’s problem. If his/her internet connection is slow or hosting is bad you can’t do any thing about it.

68 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • United States
jgodbee says

FullTank,

Try this. Just BEFORE you end your body tag, place this small line of code

Cufon.now()

Works for me in IE8 . This will prevent the second of the text not being replaced.

If this does not work, you could always temporarily hide everything you’re going to replace, but the above solution should yield you the results your looking for.

Good luck!

762 posts
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Serbia
  • Has been a member for 4-5 years
rvision_ says
Try this. Just BEFORE you end your body tag, place this small line of code

Cufon.now()

Works for me in IE8 . This will prevent the second of the text not being replaced.

You mean first I put:

Cufon.replace(’... etc.

and after that

Cufon.now();

?

Thanks everyone!

by
by
by
by
by