开发者

Changing cufon fonts with dropdown and with livepreview

开发者 https://www.devze.com 2023-02-11 21:47 出处:网络
i make some scrip开发者_如何学Pythont that will change cufon fonts from select options, and i would like it to be some kind of \"live preview\" for cufon fonts. So, when user select one font from drop

i make some scrip开发者_如何学Pythont that will change cufon fonts from select options, and i would like it to be some kind of "live preview" for cufon fonts. So, when user select one font from dropdown menu, i would like to they see how it looks like. Currently, i did this, but have some problem, and don't know how to fix it. You can test my script here http://jsfiddle.net/djevrek/JVrpb/13/

Also, that script have google fonts preview, which works, and i want to make it possible for cufon too.


I am bookmarking this b/c I really like where it is going. What about using .live with change as the event?

http://api.jquery.com/live/

if that doesn't work then i have used the livequery plugin in similar situations

http://docs.jquery.com/Plugins/livequery

0

精彩评论

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