jQuery Plugin Roundup 15

13 Jul 2010 | By Alex Young | Tags jquery plugins

Welcome to the jQuery Plugin Roundup, episode 15. Remember you can send your plugins in for review through our contact form or @dailyjs.

Signs of a Poorly Written jQuery Plugin

Signs of a poorly written jQuery plugin by Remy Sharp takes a very simple plugin example and then shows some common mistakes — classics like “double jQuery”, where people accidentally call $() on an existing jQuery instance.

If you’re interested in writing a jQuery plugin, you should read this and the comments. The article was posted last month, so there is some interesting discourse in the comments.

placeholder.js

placeholder.js (MIT License) by Nikita Vasilyev brings the input element’s placeholder attribute to all browsers. It’s a simple plugin, and nicer than using a bunch of JavaScript just to show example field values.

Boxes with Easing and Motion Blur

Floating Boxes with motion blur and easing by Marcell Jusztin isn’t necessarily going to be used in your next project. The reason I found it interesting is the author uses CSS 3 box-shadow and text-shadow to simulate motion blur, which I thought was a cool hack.

autoNumeric

autoNumeric (MIT License) by Robert J Knothe makes supporting international currencies and number formats easy. This plugin makes input fields automatically display the correct formatting for a given currency — separator type and placement, currency symbol and placement, decimal places, and rounding are all handled.

I’ve run into the complexities of supporting multiple currency formats before, so this may be useful in the future.


blog comments powered by Disqus