Tuesday, 25th March 2003
getElementsByClassName()
More handy javascript from Andy: document.getElementsByClassName. [... 7 words]
Freshly Blogrolled
Recent additions to the blogroll: [... 145 words]
Date-centric vs Entry-centric
When I started this blog, I made the decision to use days rather than entries as the principle navigation unit of the site. Each day’s entries are grouped under a single heading for that day, archives are arranged by day (with permalinks linking to anchors on those pages) and individual entries come without titles, to emphasise the fact that they are part of a larger whole. [... 602 words]
getElementsBySelector()
Inspired by Andy, I decided to have a crack at something I’ve been thinking about trying for a long time. document.getElementsBySelector is a javascript function which takes a standard CSS style selector and returns an array of elements objects from the document that match that selector. For example:
[... 172 words]