Ajax Scripts, PHP, Javascript, HTML & CSS – Sevenscript.net
Premium Web Templates & Scripts

Ajax Star Rating Script – Rate Anything

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.

Demos

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.

Features:

 

Simple Ajax Star Rating Script

  • Number of Downloads: 173
  • Number of Files: 12
  • Total File Size: 140kb
  • Compatible Browsers: IE6, IE7, IE8, Firefox 2.5+, Opera, Safari
$10


Posted by Sevenscript in JavaScript, PHP Scripts on 9 October, 2009 | 4:51
  1. Stefan Lederer

    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

    • Sevenscript

      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.

  2. Medo

    Hi Sevenscript

    i dont have paypal can i buy the script using moneybookers plz ?

  3. Ashish

    Can this be added to the static .html pages?

  4. Ian.J.Gough

    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!

  5. portakal

    Hello,

    We have a php cms script and takes entries from a database. Is it possible to use this script for each post?

    • Sevenscript

      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.

  6. Taisuke

    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.

  7. Tony

    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.

  8. joe cannes

    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…)

LEAVE A COMMENT