Live type editing (or preview?)

Hello Web-flanders,

Does anyone know a method to edit type live on a website a bit like this:
http://indestructibletype.com/Gnomon.html (about half way down you can “try the font”)

Thanks folks