Skip to content

monsterbrain/Simple-Star-Rating-Jquery-Plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple star Rating Jquery Plugin v1.0

jQuery Class for simple Star Rating system.

demo-preview-image

Usage

$('.star_system').starRating();

disable animation

$('.star_system').starRating({animated: false});

todo

  • Half star rating to be included (use elegentstars.png if needed)
  • Maybe a click and drag rating interaction, as an input element
  • contributors are welcome

Inspiration : Found this cool stuff while surfing around. decided to modify it with a demo and some use cases, so that anyone could find it useful.

Readme by Author Robert Rusu

This is pretty flexible, and you can add stars anywhere on your website with just a div. This script works pretty nice, I've used it in a previous project and it seemed like something practical. Pretty much the only thing you have to do is set the star image patch in the function, and you're all set.

Packages

No packages published

Languages

  • HTML 45.9%
  • JavaScript 39.9%
  • CSS 14.2%