JavaScript, XHTML 1.1, and Comments
Posted April 27th, 2003 @ 12:43pm by Erik J. Barzeski
I'm attempting to fix some JavaScript issues with this site, specifically regarding the items discussed in the comments of of this article by Phil Ringnalda.
I believe I may have accomplished this by doing the following in my "Individual" and "Comment Listing" templates (and rebuilding the former).
// document.comments_form.email.value = getCookie("mtcmtmail");// document.comments_form.author.value = getCookie("mtcmtauth"); // document.comments_form.url.value = getCookie("mtcmthome"); document.getElementById("comments_form").email.value = getCookie("mtcmtmail"); document.getElementById("comments_form").author.value = getCookie("mtcmtauth"); document.getElementById("comments_form").url.value = getCookie("mtcmthome");
Why did I remove 'name=""' from my templates? XHTML 1.1 doesn't support it, and I'm trying to support XHTML 1.1 throughout.
Please post any comments, compatibility reports, ideas, etc. to this entry. I hope to have it "fixed" by the end of the day on every major browser.
Posted 27 Apr 2003 at 3:51pm #
Already working fine with the previous cookie in Phoenix/Win. We'll see if this comment sets a working cookie you can retrieve in IE6/Win (quickly, quickly, must close this damn browser!).
Posted 27 Apr 2003 at 3:52pm #
Like a charm. You're fixed.
Posted 27 Apr 2003 at 4:10pm #
Great. I spiced up comments with a little vertical line while I was at it, and now I'm trying to do some other things too. "Playing around with my blog" is not only a good way to kill time, but, uhh, well it's mostly good for that. 🙂