jQuery Roundup: jQuery 1.5.1 RC 1, betterflow.js, domsearch.js

22 Feb 2011 | By Alex Young | Tags jquery plugins graphics autocomplete

jQuery 1.5.1 RC 1 Released

jQuery 1.5.1 RC 1 is out, with over 30 bug fixes and improvements.

One fix that caught my eye was #8245: Ajax now ensures header names are capitalized so that non-compliant xhr implementations don’t override them — when writing the DailyJS framework tutorials I noticed that jQuery had these headers in lowercase, but other implementations capitalised them.

betterflow.js

betterflow.js (MIT License) by Rui Lopes is a coverflow-inspired plugin. The betterflow.js demo works pretty well with the mouse and keyboard shortcuts. It even works with horizontal mousewheel movements, which surprised me because this is what I instinctively tried to do when I loaded the page.

It expects some simple markup (Rui’s example uses an unordered list with divs and images), and then just a call to $("#example").betterflow();.

domsearch.js

domsearch.js (GitHub: juliocesar / jquery-domsearch, MIT License) by Julio Cesar Ody makes searching elements like tables very simple.

I’ve written things like this before, but with pretty basic search/sort algorithms. This plugin uses LiquidMetal:

Applications like Quicksilver, LaunchBar, and Launchy have made this method of keyboard entry a popular one. It’s time to bring this same functionality to web controls. LiquidMetal makes scoring long strings against abbreviations easy.

Given a set of elements, domsearch can be invoked like this:

$('#search').domsearch('table#fruits', {criteria: ['td.price', 'td.weight']});

This searches on two columns in the table.

There’s a lot of places where I could use this plugin, and it looks like the LiquidMetal author (Ryan McGeary) put some effort into performance.


blog comments powered by Disqus