jQuery 1.9 was released recently, and removed some things that have long been labeled as deprecated. This broke maphilight slightly, since it was still doing a few checks on $.browser. I’ve just fixed that. As always, the latest version is available on github.
Tag Archives: jquery
A shadow is upon us
Other people contributing to my projects is often the cause of my improving them. This is because people tend to contribute something that works for the case they care about, without necessarily testing how it combines with the rest of the product. There’s nothing wrong with this. They did some work and wanted to give …
Maphilight 1.3
I released maphilight 1.3 just now. (Though really I consider github the more authoritative source.) So, IE9 broke maphilight because it was finally exposing the has_canvas codepath to IE. Turns out all the canvas stuff worked beautifully, but one call to setTimeout was relying on a non-IE feature. So that’s fixed! Also changed since the …
Ooo capitalism
“Clickable Maps” is selling pre-made maps explicitly for use with Maphilight. The pre-purchase samples are pretty good examples of what’s possible. This USA map shows remote triggering of a hilight, for instance. Note: I wouldn’t have released under the MIT license if this sort of thing bothered me.
maphilight 1.2
I finally got around to officially releasing maphilight 1.2. This mostly just updates the official jquery.com release to the HEAD of the github project. I’d been putting it off because I spent quite a while without easy access to a Windows machine with IE8 to test the fixes that people provided. But I switched back …
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
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 …
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 …