Simon Willison’s Weblog

Subscribe

Wednesday, 5th November 2003

Javascript Mojo

Stuart Langridge has released a couple of very neat new Javascript experiments. sorttable makes any data table on a page “sortable” by clicking the table headers. I’ve seen this effect used to demonstrate Microsoft’s proprietary “behaviors” technology but Stuart’s solution has the advantage of being standards compliant and working across different browsers. Best of all, it follows the principles of inobtrusive DHTML and hooks in to the markup using only a class attribute.

[... 257 words]

2003 » November

MTWTFSS
     12
3456789
10111213141516
17181920212223
24252627282930