I’ve been very distracted by a new job since the end of April. Thus, quiet.
Category Archives: programming
del.icio.us plus 1.1
New version of my del.icio.us widget. The only real change is that it now allows for multiple instances of the widget. So you can have one showing the ‘food’ tag, and the other showing the ‘yodeling’ tag, say.
WordPress’s API documentation is weirdly incomplete. The official function reference, for instance, was last updated for WordPress 2.1, and we’re now on 2.5. This is making updating that widget I wrote be more of a hassle than I expected.
A bug report for maphilight lead to me becoming aware of a fascinating quirk in IE. A quirk in which IE holds to published standards with fanatical zeal, contrary to everything one might have come to expect, and far in excess of Firefox/Opera/Safari. When you use the .innerHTML property to add an element to the …
I couldn’t find a WordPress widget that produced output similar to del.icio.us’s linkrolls script. (You can just put their script into a Text widget, but its output doesn’t always mesh well with WordPress themes – it hardcodes h2s, and so forth.) The Automattic example widget came close, but was a bit lacking on the customization …
Code Markup plugin
As one naturally does, I noticed that my blog wasn’t validating. It turned out that I’d forgotten to escape the
Creating an image map from SVG
I was asked how I made the map in my examples earlier. I wrote a small script to do it. (The script is quite limited – I only made it complete enough to handle the SVG files I was using. Others might break it. Also, it requires pyparsing… and hoo-boy is that slow.) Example! Wikipedia …
maphilight: image map mouseover highlighting
UPDATE 2011-05-04: Version 1.3 released. Works in IE9. (There’s a pattern here.) UPDATE 2010-05-22: Version 1.2 released. Works in IE8. I just released maphilight, a jQuery plugin that turns image maps into wonderful graphical masterpieces. Image maps aren’t so popular any more, for some strange reason. So a quick definition: an imagemap is an <img> …
Continue reading “maphilight: image map mouseover highlighting”
Fixing sortForce in jQuery’s tablesorter
jQuery has a table-sorting plugin, part of their official UI project. It’s quite a nice table-sorting library, handling the common cases, with options making it configurable to suit many people’s needs. However, I ran into a problem when using it in a project. The documentation and the functionality don’t quite line up. It has an …
I discovered that there was a flash widget displaying Dilbert archives in color, back to the start of 2007. Naturally I thought to myself “aha, there must be an XML data feed somewhere in that!” Some light flash-decompilation later, I discovered that I was right. I then seized on this as a learning opportunity, and …