UI Deploy

Curated, Short, Web UI Dev we Love.

How to Build a Star Ratings jQuery Plugin

Lately I've been working with jQuery plugins and I decided to create a tutorial demonstrating how to use the jQuery plugin system to build a simple star ratings control.

Almost all controls and features within jQuery are now built using the plugin architecture. It's actually a very simple system, and jQuery provides some pretty good documentation to get you started. Like always, let's start with an example of what we're going to build. Below I've got two star ratings controls with differing amounts of stars - one with 10 and one with 5.

view post...

Advertisement