I have written a few articles about jQuery Plugin Development in the past which readers seem to have been interested in, but I have since then written many more plugins and have thus picked up a few more tips and tricks. I have therefore decided to put together this more comprehensive guide on jQuery Plugin Development.
I also want to note the importance of knowing how to develop jQuery plugins well as I find myself building many little custom plugins for my sites making it much easier to maintain not to mention reuse in other projects. Anything from little pagination and nav loaders to larger handlers for many of my ajax requests. When using in conjunction with a client side framework like Backbone.js you can really develop some nice modular code and keep frameworks like Backbone doing what they do best, controlling the logical flow of your website. Continue reading
It seems jQuery tooltip plugins have become the “Hello World” of jQuery plugin development with more tooltip plugins out there than one cares to keep track of. I spent a lot of time looking for tooltip plugins to use on my own site have put this list together as the top ten tooltip plugins that not only look great but are also easy to work with and modify should we need to.
This week I decided to revisit a game I had made a long time ago using HTML5 canvas called
This little plugin was originally designed to limit the amount of characters that can be typed into the textarea element which does not support the maxlength attribute like an input element does. With HTML5 this is no longer required as they have finally added this attribute but until the rest of the world catches up I find myself still using this quite frequently as a backup. Actually in many cases I prefer to use it over setting the maxlength attribute as it’s easier to change if I have a large set of inputs.
Websanova Paint is a HTML5 canvas based jQuery plugin. It allows you to free paint on a canvas area with various shapes and colors including an eraser. It also features the fantastic
This weekend I decided to build my own version of
This is a little example of how to load jQuery from Googles CDN. I prefer to load it from there as it’s nicely minified and g-zipped as well there is a better chance a user would have already picked up this file from another site so it will already be cached. This can improve the loading time of your site and every little bit helps. We also provide a fallback in case Google decides to crash for whatever reason.
I recently wrote an article called