Rate This Page
Provide your visitors a new way to interact with your site by adding our rating widget. Only three lines of code need to be added to your page. Votes are submitted to our server where they are tallied and stored. Users can vote once per page.
[Note: This service only works on *.ca.gov sites. This is due to the AJAX calls that the script must make to our server.]
Instructions
-
In your HTML page, add the following two lines between the opening and closing <head> tags. They need to appear after navigation.js.
<script type="text/javascript" src="http://webapps.ca.gov/star_rating/star_rating.js"></script>
<link rel="stylesheet" href="http://webapps.ca.gov/star_rating/star_rating.css" type="text/css" /> -
Insert the following line where you want the star rating block to appear in your page:
<div id="star_rating"></div>
Customization (optional)
- If you want to customize the appearance of the star rating block, copy star_rating.css to the css folder on your own site. You may then alter it as you wish. Update the <link> tag above with its new location.
Rating Summary
- A summary of ratings for your pages is available here.
