I've added a new feature called "Live Preview". You can see your comment as it will appear, right as you type it. I randomly just came up with the idea yesterday - I figured I could use the same code I have in place for the preview, for the Live Preview as well. I just trap the onkeyup event for the textarea. It works pretty well. Of course, there is a lag, but it's not too bad. Oh yeah, I also removed the numbers in the comment list and replaced them with little blurbs that I made. The blurbs won't show correctly in IE, because IE is stupid and doesn't handle PNG transparencies well.
Here's what the DOCTYPE (and other information) looks like:
Also, I have a sandboxed version of the website here. You can see the problem directly there.
1 thought on “Live! Preview and XHTML Compatibility”
Good job, viv! This is quite cool!