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...In my home I have some simple paper blinds. In order to "open" them I have to tediously fold the paper back and forth a few dozen times. I imagine this used to be easier when they were fresh and un-crinkled, but they aren't new anymore. Because they are so inconvenient to open, we usually don't. We have been talking about replacing them with something equipped with a draw-string, but new blinds are so costly. Before we sunk money into new blinds, I wanted to see if I could make better use of the paper we had. I wanted to add a draw-string.
... was simple:
Recently, while preparing a lasagna dinner for some friends, I thought of a new way to build it which would prevent the hard, crusty, edges that plague so many otherwise great lasagnas. The problem is, in the time it takes the innermost depths of deliciousness to thoroughly bake into ooey-gooey-goodness, the outermost edges (and especially the corners) of most lasagnas will completely dry out. This leaves the edges, and sometimes even the whole top layer, as hard as an uncooked noodle. You can't stab it with a fork. You can't cut it with a knife. All you can do is beat it into brittle submission (or peel it off), which gets messy.
Not wanting to serve my dear friends less than perfection, I pondered this problem a moment. I could cover it with aluminium foil, but this technique has often yielded watery, runny, lasagna. A lasagna should stiffen up a bit as the sauce cooks and the cheese sets. Sure, much of this setting occurs during cool-down, but a watery lasagna won't set right. So, I'm back to crusty-edged lasagna. If only there were a way to make an edge-less lasagna. There is (almost)!
more...