jQuery Roundup: 1.7, Doubletake, ThemeRoller for Mobile

08 Nov 2011 | By Alex Young | Tags jquery plugins mobile

Note: You can send your plugins and articles in for review through our contact form or @dailyjs.

jQuery 1.7 Release

jQuery 1.7 is out. The official blog post has great coverage of this release, with some intriguing statistics on delegated event performance:

To optimize the code for the most commonly used forms of selectors, we examined a cross-section of code from Google Code Search… By parsing those simple selectors in JavaScript at the time the event was attached, we were able to outperform even the browser’s native-code implementations of matchesSelector during event delivery.

Doubletake

Doubletake (License: WTFPL) by Graham Bird changes the src of image elements based on the browser’s width. To control which images are requested, “breakpoints” are used to correctly match the file name:

$('#container').doubletake({
  'breakpoints': [480,960],
  'pattern': '/images/foobar.jpg?width=([0-9]+)'
});

Graham’s example includes the use of Sencha Src to automatically resize images.

ThemeRoller for Mobile

ThemeRoller for Mobile has been released, which is a version of jQuery UI’s ThemeRoller for jQuery Mobile.

It also includes Adobe Kuler support for easily creating a colour palette for your apps.

Although themes can be shared, the links to shared themes are only saved for 30 days to “keep our server from getting stuffed with themes”.


blog comments powered by Disqus