The last one and a half days were spent in improving the DTC. As expected, the sons of the soil who rave and rant about “people doing nothing for their nation” and “subversion of our language and culture” were barely involved. More the pity…
Bala suggested two tweaks – form buttons and live preview.
The buttons are a good step ahead. I was able to dispose off the awkward tabs I had inserted to space out some characters. And do they look cool!
Live preview eliminates the need to click a button to see the results. The stuff appears as you click on the character buttons. You can also edit the code directly from now on. This live preview idea uses innerHTML. Don’t ask me what that is – I can only say it takes a string of HTML as it is and is useful for DHTML. The code snippet Bala presented threw up problems on all systems except IE and FF on win32. So I had a look around and updated the code with a more elaborate version of live preview. Also, as the footer says, this version of DTC has been tested on a lot of browsers. Still, if bugs crop up, let me know.