November 2005


One of the helpful little things that most desktop apps know how to do is handle the
shift-click in order to make multiple selections. The place where this is most obviously
missing when it comes to web forms is in a list of checkboxes.
(more…)

Summary/Detail relationships can be difficult to display in HTML. The
amount of data can often be overwhelming. This is a client side
(JavaScript + CSS) way to hide or display selective detail rows. It follows
the principle of unobtrusive Javascript and it pretty easy to use.
(more…)

The principle of unobtrusive javascript has been around for a while, and the old sortable html table thing has been used all over the place. This version has been updated to

  • work with tables that use thead and tbody to separate header rows from content rows,
  • works with tables that use odd/even styling for the data rows,
  • it has a fix for Safari browsers,
  • and it can use different sort types instead of the built in Javascript sort. Notably, the merge sort is
    a stable sort that is pretty fast.

(more…)