Quicksand
A jQuery plugin by Jacek Galanciak to reorder and filter items using animated transitions. (via Lee Majors)
A transmission from the deep south.
A jQuery plugin by Jacek Galanciak to reorder and filter items using animated transitions. (via Lee Majors)
A jQuery plugin to style checkboxes, drop-down menus, radio buttons and file upload inputs the same across all browsers. Includes default themes by Josh Pyles and Made by Sofa, plus tools to build your own. (via Tim Van Damme)
A jQuery plugin from Build Internet for full-screen slideshows using faux background images that retain their aspect ratio.
Highlights include siginificant performance improvements, per-property easing, better support for live events, and plenty of new methods (including a native delay()).
Inky alerted me to a few extra customisation options for YouTube’s video player:
YouTube’s interface lets you choose one of nine colour schemes, adding two parameters to the embed code:
color1andcolor2. Once you select a theme, you can edit these parameters to use any colours you like.
His suggestion of using a solid white background behind the player controls improves the look of the player out of sight, so I remixed my Vimeo customisation script to do the same for YouTube embeds. Here’s the jQuery function:
$("object").each(function() {
if ($(this).find("param[value^='http://www.youtube.com']").length > 0) {
var parent = $(this).parent();
var youtubeCode = parent.html();
var params = "";
if (youtubeCode.toLowerCase().indexOf("<param") == -1) {
$("param", this).each(function() {
params += $(this).get(0).outerHTML;
});
}
var oldOpts = /rel=0/g;
var newOpts = "rel=0&hd=1&color1=0xFFFFFF&color2=0xFFFFFF";
youtubeCode = youtubeCode.replace(oldOpts, newOpts);
if (params != "") {
params = params.replace(oldOpts, newOpts);
youtubeCode = youtubeCode.replace(/<embed/i, params + "<embed");
}
parent.html(youtubeCode);
}
});
If you’re unfamiliar with such things, there’s a ready-to-install version that includes the jQuery directives to run the code as soon as the DOM has loaded. Let me know if you strike any problems. Here it is in action:

Update: on the suggestion of Billy Disney I’ve added the flag to force HD playback. I’m also investigating the possibility of allowing 16:9 embeds, at present Tumblr outputs all YouTube code at 4:3.
A clever jQuery plugin by Jason Feinstein that co-opts the <canvas> element to provide true text wrapping around irregularly-shaped images. (via CSS Beauty)
Jarred Bishop has released Cargo, a Tumblr theme inspired by Cargo Collective’s stripped-back portfolio interfaces. Its in-page jQuery navigation is hot.
Vimeo offers plenty of customisation options when embedding its player, but Tumblr’s automated code generator doesn’t respect these, overwriting them with its own defaults. To fix this, I wrote a quick jQuery function to rewrite Tumblr’s default options string for all Vimeo embeds on the current page (get the ready-to-install version):
$("object[data^='http://vimeo.com']").each(function() {
var parent = $(this).parent();
var vimeoCode = parent.html();
var params = "";
if (vimeoCode.toLowerCase().indexOf("<param") == -1) {
$("param", this).each(function() {
params += $(this).get(0).outerHTML;
});
}
var oldOpts = /show_title=1&show_byline=0&show_portrait=0&color=00ADEF/g;
var newOpts = "show_title=0&show_byline=0&show_portrait=0&color=55CC55";
vimeoCode = vimeoCode.replace(oldOpts, newOpts);
if (params != "") {
params = params.replace(oldOpts, newOpts);
vimeoCode = vimeoCode.replace(/<embed/i, params + "<embed");
}
parent.html(vimeoCode);
});
Tweak the newOpts string to whatever you prefer — it will work for all embeds except those that have had their options locked by their respective owners. You can see it in action here.
Update: IE mangles the <object> tag when returning it as an HTML string. I’ve updated the code to make it work as intended.
Last year I released a plugin to display notes for any post in a Tumblr site, in much the same fashion as the Dashboard does. At the time, in order to display the notes count, the plugin was required to preload all notes for every post, which made it very inefficient. In February, Tumblr added custom theme tags for notes, so here’s an updated version of the plugin I’ve been using for the past few months: it uses theme tags to display the note count, and only loads the content of the notes when a user clicks to view them for a particular post.
The benefit of this approach is the ability to display notes on any page of your Tumblr site, not possible using custom tags alone.
A lightweight UI library for jQuery with tabs, tooltips, expose, overlay, scrollable and flashembed — all under 6Kb. (via David Kaneda)
Written and designed by Matthew Buchanan. Colophon. Please give credit. Email