jQuery Roundup: cookieConsent, Timing, Tagit
jquery.cookieConsent

jquery.cookieConsent (License: MIT) by Tom Ashworth is a drop-in plugin for satisfying new EU policies regarding cookies. By running $.cookieConsent(), this plugin will display a banner. Once the banner is clicked, a cookie called cookieConsent will be set so the banner won’t need to annoy the visitor again.
The irony of setting a cookie to hide a message informing users about the use of cookies is amusing, but that’s not Tom’s fault so much as the nature of the beast.
Timing
Timing (GitHub: creativecouple / jquery-timing, License: MIT) by Peter Liske is a wrapper around setTimeout and other timer functions. It has a chainable API, so it’s easy to create complex scenarios without too much code:
$.wait(1000,'myQueue').now(first).wait(1000).now(second);
Tagit
Tagit (GitHub: hailwood / jQuery-Tagit, License: CC BY-SA 3.0) by Matthew Hailwood uses jQuery UI’s Autocomplete to present an alternative way of entering lists. Features include:
- Automatically adding partially typed tags if the control loses focus
- Friendly behaviour when deleting tags
- Sortable items using drag and drop
The sortable version only requires a single option to work:
$(selector).tagit({ tagSource: ['one', 'two', 'three'], sortable: 'handle' });
It’s quite easy to theme this plugin, and the author has kindly bundled quite a few CSS files.
