Changing cufon fonts with dropdown and with livepreview

785 Views Asked by At

i make some script 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.

1

There are 1 best solutions below

2
On

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