Last month, the World Wide Web Consortium (W3C) declared HTML5 is officially "feature complete." I decided it was finally time to make the switch from HTML4.01. While reading about all the new tags, I was excited about some tags and confused about the usefulness of others (like repurposing the previously deprecated <u>
for "misspelt words"). I quickly dove in to compatibility charts and performed some of my own testing. One of my greater disappointments was the lack of browser support for the <details>
tag.
I set out to find a work around that would enable proper functioning of details
and summary
, that is, to enable it's open/close interactivity. What I found was an effective solution in jquery-details by Mathias Bynens. Unfortunately, this solution depends on another library: jQuery. jQuery is an excellent library which I use in some of my projects, but not all. Since some of my projects do not use jQuery, it seemed unnecessary to include a library as comprehensive as jQuery for the benefit of one simple work-around. So I wrote my own.
To counter the tone of my recent postings about hardship, I would like to rant and ramble lightheartedly to ridiculously about how we express time.
This past weekend the USA ended it's annual observance of Daylight Saving Time, apparently one week after most of the observant northern hemisphere. Many rumors run rampant in our intellectual garden about why we ever started this time of shifting daylight. The one that I hear the most is about farmers, as though they were somehow so disconnected from nature (like us city folk spreading the rumor) that they needed a clock to tell them when there was enough light to work the fields. Wikipedia, on the other hand, credits Daylight Saving Time to George Vernon Hudson, who apparently just wanted more daylight after his shift job to collect insects. The further explanation of its implementation in the United Statesis a bit more practical:
more...