Morse Decoder Gadget

Had great success in writing my first Google gadget.

This evil unit is nothing more than Morse decoder that supports cyrillic. Surely latin can just be transliterated (see encoding rules) as it was done in KOI8-R. But russian folks like russian letters.

Wait, is done in KOI8-R, not was. Don't know where is the problem, but cyrillic chars in the gadget code are saved as HTML entities. Arrgh.

Workaround for now is in adding output into <div>'s `innerHTML` instead of using another <input>. User interface is also to be reviewed. Follow the updates.

UPD 2008-04-23:
May fail working on Internet Explorer. Got some ideas about possible fix. But hey, IE users, how do you know Google Gadgets exist?

No comments: