Simple Star Rating System

This is a jquery plugin for star rating systems. The intial inspiration for this script came from "Wil Stuckey's" star rating system. But the original script requires too much coding. Also it does not have provision for developing a star system (such as GMail, where you star or un star an email). I have modified the original script to make it simpler for user to develop a star rating system. Check the demo below - hover and click on stars to change there state

Examples

 
$('#star1').rating('www.url.php', {maxvalue:1});
 
$('#star2').rating('www.url.php', {maxvalue:1, curvalue:1});
 
$('#rate1').rating('www.url.php', {maxvalue:5});
 
$('#rate2').rating('www.url.php', {maxvalue:5, curvalue:3});
 
As you might have notice, for single star, the script works like a star/unstarl. For two or more stars, it works as a rating system. To value at the server end can be recieved via post variable named "rating".
 
Download (whole package)
1. rating.js
2. rating.css
3. Images: star.gif, delete.gif
4. Also requires JQuery