This script allows you to add simple star rating boxes to anything on your website. – Images, tables, lists, are a few of the possibilities you could add a star rating to.
This demo shows a table with a rating for each row. One feature of this script is PNG transparency so it will look good on any coloured background.
| Book | Author | Rating |
|---|---|---|
| The Catcher in the Rye | J. D. Salinger | |
| Moby Dick | Herman Melville | |
| Nineteen Eighty-Four | George Orwell | |
| To Kill a Mockingbird | Harper Lee |
Images can have their own rating too:
Applying a label to our star rating gives us a nice list we can use in this eBay-like user feedback rating example.
To include an Ajax Star Rating on your page with this script all you need is one line of code:
<div id=”rate_01″></div>
Including this script within div tags gives you the flexability of applying your own classes. For example, in the above example class=”img_class” is given to each image which properly styles our star rating to align nicely with our image.
The download includes Setup Instructions and demos of it in action.
HI, I just downloaded and installed the star rating system. Works perfect… But can can you tell me how to reset the stars to the initial 0-situation? Thanks for support.
Stefan
The ratings counter can be reset by either: Deleting the ratings directly from your MySQL database, or, renaming the div id to something different – this will create a new star rating with zero ratings.
Hi Sevenscript
i dont have paypal can i buy the script using moneybookers plz ?
We will be accepting moneybookers at some point in the near future but not just at the moment.
Can this be added to the static .html pages?
Yes, although MySQL and PHP are required to store the ratings. The examples included with this script are all displayed on static .html pages.
Is there a demo script available for download?
There isn’t a downloadable demo of this script unfortunatley, just the examples and demo’s which can be tested on this page.
Muts Nuts! Great super just what i was looking for and well worth $10!!!
Many Thanks and i’ll be sure to check back often too see if you have anything else that takes my fancy!
You Rule!
Hello,
We have a php cms script and takes entries from a database. Is it possible to use this script for each post?
Yes this is possible, if when outputting the contents of your database you increment the id of each rating div, this will create a unique star rating for each entry.
Hi,
I recently bought the script and found it handy and useful.
However, for the upgrade in the future, it would be nice if you could add the following functions:
1) “Reset” button
Users can take back their own rating by pressing the button and enter new rating.
2) Static stars
Ratings once stored in the database can be displayed anywhere in web pages as static stars.
I agree with Taisuke. Changing your mind about your star rating would be nice addition and also useful if you made a mistake when rating.
Displaying static results on pages is also a useful idea I want.
Are the results stored in a database?
I would like to build a login page, and once a user has logged in, there would be a secure page that would show me the stats. (i.e. how many users rated 1 star, 2 stars, 3 stars, etc…)
Yes all the ratings are stored in a database which can be manipulated to suit your needs.