https://github.com/timbroddin/jquery-simplestar
No nonse star plugin built for performance
https://github.com/timbroddin/jquery-simplestar
Last synced: 10 months ago
JSON representation
No nonse star plugin built for performance
- Host: GitHub
- URL: https://github.com/timbroddin/jquery-simplestar
- Owner: TimBroddin
- Created: 2010-12-18T08:56:13.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2020-03-14T17:01:00.000Z (over 6 years ago)
- Last Synced: 2025-09-12T04:01:04.637Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
A very simple jQuery star plugin built for speed. You can literaly display thousands of this on a webpage with no slowdown.
Usage:
- Include js and css files
- Add markup:
data-id will be passed back on submit, with data-rating you can set the selected rating
- Enable simplestar in your $().ready function
$('.star').simpleStar(options);
Options:
width: the width of the star widget. Your star.gif file must be twice this size (open up stars.gif to see why)
stars: the amount of stars
submit: a callback funtion containing the data-id property, the selected rating and the star object