Cufon Hover & Change of font syntax

Posted by Andy on Stack Overflow See other posts from Stack Overflow or by Andy
Published on 2010-04-28T08:24:28Z Indexed on 2010/04/28 8:43 UTC
Read the original article Hit count: 436

Filed under:
|

Could someone help me rewrite this syntax below to get it right.

I want the font to be replaced by my font whilst accepting the :hover so my button will change when i hover over it.

 Cufon.replace('button', {
    fontFamily: 'Disgrunged A',
    hover: true
 });

© Stack Overflow or respective owner

Related posts about cufon

Related posts about JavaScript