Rating plugin for jQuery. Fast, Progressive enhancement, touch support, customizable (just swap out the images, or change some CSS), Unobtrusive JavaScript (using HTML5 data-* attributes), RTL support, supports as many stars as you'd like, and also any step size. Although it does the same job as the rest of the jQuery star rating plugins, the main difference is its simplicity. Most plugins create an element for each (partial) star, be it a div with a star background, or an img tag. Each of these tags gets a hover event, and a click event. And on these hover/click events it has to go and talk to the other stars, telling them to change their state.

Features

  • RateIt uses basically three divs
  • One background (the inactive state), and two divs on top (the hover, and selected state)
  • In addition it only attaches three event handlers (not counting the use of the reset button aside)
  • Each of these divs has a x-repeating background, enabling as many stars as you want
  • Based on the position of the mouse, or the selected value, a certain width is applied to the selection div or the hover div
  • Several quick start options are available

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow RateIt

RateIt Web Site

Other Useful Business Software
Train ML Models With SQL You Already Know Icon
Train ML Models With SQL You Already Know

BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of RateIt!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2023-10-03