Tag Archives: jquery

Topsy turvy

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 [...]

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

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> with the usemap attribute, pointing to a <map> that describes polygons that link places within that image.
This sprung from me [...]

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 [...]

Practicing JavaScript with Dilbert

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 wrote [...]