display text in different font
display text in different font
Out of context: Reply #2
- Started
- Last post
- 7 Responses
- n_m0
whoa mitsu, that's simple?
all you need to do is write the text out dynamically. when the user types the work, and wants to see it in, for example, times new roman (!), simple do:
document.write('<span style="font-family: times new roman;">'+form.userinput.valu...
you can do this for as many fonts as you like. just get the user to choose the font, and you would do something like:
document.write('<span style="font-family: '+form.userfont.value+';">'+f...
easy as falling off a log