Live search’s extra spaces (only for Firefox, of course)

Go to http://www.asp.net and do a search to see a nifty AJAXy popup search results box, powered by Live Search and including some advertising (which I deliberately grayed out below). Look closely, and you’ll see the URLs in the search results (circled in red) have spaces where spaces just shouldn’t be. No surprise, this happens [...]

Popularity: 32% [?]

Improving TableKit’s sort performance in IE7

I noticed that TableKit’s sort performance using IE7 grew progressively worse as tables grew in size (rows, not columns). I found the source of the problem and put in a simple fix to it. With the below change, sorting in IE7 is nearly as fast as in Firefox — that is, nearly instantaneous.
At [...]

Popularity: 41% [?]

Capturing function keys in web browsers

I have a web application that allows the user to press the F2 key to bring up a modal box search window (the modal box script is provided by ModalBox). Today, one of the users came to me and said that every time they press the ‘Q’ key in the search box, the modal box [...]

Popularity: 40% [?]

IE7 reverses table rows during Insertion.After

I found yet another interesting bug in IE7, related to using Prototype’s Insertion.After command to insert additional table rows into an existing table. Apparently, IE7 will reverse the order of the table rows being inserted. As a proof of concept, I’ve set up an ie7 table insert bug test page to prove my point.
Here’s how [...]

Popularity: 38% [?]

A wonderfully simple, wonderfully useful IE CSS hack

For the past few years, I’ve been doing a lot of web development. Part of my design mantra (at least from a code perspective) is table-less design using CSS that works in as many browsers as humanly possible.
Since Firefox’s support for CSS standards is superior to that of IE, I generally code everything so it [...]

Popularity: 58% [?]