O'Reilly logo

Mastering jQuery by Alex Libby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Applying filters with CamanJS

So far, we've applied filters using CSS3. This is perfect for lightweight solutions, but there may be occasions where we need to do more, and CSS3 won't suffice.

Enter jQuery! Over the next few pages, we'll take a brief look at applying filters using CamanJS as our example jQuery plugin. We'll then move on and see how easy (or complex) it is to create the same effects manually, without needing to rely on a third-party plugin.

Introducing CamanJS as a plugin

CamanJS is one of the several plugins available for jQuery, which allows us to apply any number of filters; we can choose from either the preset ones that come with the library, or create our own combinations.

The plugin is available from http://camanjs.com/, and can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required