Return to Snippet

Revision: 41776
at February 23, 2011 06:41 by pedromagalhaes


Initial Code
$(document).ready(function(){
	$('.cufon').addClass('block');
	Cufon.replace('.cufon', { hover: false, hoverables: { li: false, a: false } });
});

Initial URL

                                

Initial Description
This is a simple trick. You have the paragraphs with cufon in a class named ".cufon".
Than, is CSS, say .cufon{display:none}
When the DOM is loaded add to the .cufon class, the css property "display:block"
You won't notice a thing in Mozilla, Chrome, Safari or Opera, and in IE it will make a hug difference....

Initial Title
Avoid in Internet Explorer the slow cúfon font replacement

Initial Tags

                                

Initial Language
jQuery