Now sporting valid XHTML
Thanks to Will Gayther (no blog that I know of), this site now validates as XHTML 1.0 Transitional. You might recall that I had issues with the onload attribute of an iframe, but it was easily solved. Will suggested I put the onload into the <body> of my iframe's "src" document, but that seemed impossible, as the iframe doesn't have a source document - it's just submitted to. But he did turn me onto the solution. There is a function called when the form is submitted (onSubmitComments()
), so I just called the function from there (instead of in the onload):
function onSubmitComments(aEntryId)
{
gSubmittingComment = aEntryId;
setTimeout("onCommentSubmitted()", 500); // wait 1/2 second
}
I don't expect you to care about any of this, just wanted to let you know I'm compliant again - or at least right now I am. Oh yeah, and I added this theme (sunsets) to Roller's CVS yesterday.