开发者

Cufon dynamically resize, is it possible?

开发者 https://www.devze.com 2023-02-16 14:08 出处:网络
I\'ve got a jQuery Roundabout loaded, aswell as Cufon for a custom font. When another box is clicked that box then resizes baded on \"em\'s\" or \"%\"\'s so what I\'d like to know is...

I've got a jQuery Roundabout loaded, aswell as Cufon for a custom font. When another box is clicked that box then resizes baded on "em's" or "%"'s so what I'd like to know is...

When a user clicks the next box, can I get the Cufon (Styled to H2) to resize based on EM's or is it a big no, no?

Not sure how to represent this as an 开发者_开发问答example, as I am working locally on a Joomla site. Any help appreciated.

Cheers


Just call Cufon.replace("h2") again after you've resized the H2 in your CSS.

0

精彩评论

暂无评论...
验证码 换一张
取 消