How to disable Cufon on certain elements?

Posted by Shadi Almosri on Stack Overflow See other posts from Stack Overflow or by Shadi Almosri
Published on 2010-04-29T14:50:35Z Indexed on 2010/04/30 1:27 UTC
Read the original article Hit count: 785

Filed under:
|
|
|

Hiya,

I currently use Cufon accross our site with something similar to Cufon.set('fontFamily', 'DIN Medium').replace('h1'); Now for a single H1 tag i would like Cufon to be disabled, this is without changing the H1 tag to any other tag, it must remain as it is.

I can add classes etc to the H1 tag if required, and can do any HTML/CSS/JS just not changing the actual tag.

Anyone know if this is possible and if it is how?

Thanks in advance,

Shadi

© Stack Overflow or respective owner

Related posts about cufon

Related posts about JavaScript