/ Published in: jQuery
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....
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....
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function(){ $('.cufon').addClass('block'); Cufon.replace('.cufon', { hover: false, hoverables: { li: false, a: false } }); });