Free Blogger Widgets 2020
Home

Star Rating System for Blogs and Websites

Javascript Short code which returns the 5 Star Rating Widget anywhere you put it.

Elegant Rating Stars widget

To display Star Rating Widget on any website, copy below code and paste it in <body> section of your site - in place where you want to show rating stars:
Code:
<script ratingID="default" status="active" starSize="large" textColor="black" src="https://drive.google.com/uc?export=download&id=1kA5fXIwT_0o3pszlzy1yXkc7_k3DxnAZ"></script>

5 Star Rating System Example:

If you want to create more than one rating widget with above code, you should find within code an attribute ratingID="default" and change value "default" to any string of characters (but do not accidentally delete the quotes). This string of characters is the unique ID of every one rating widget. All star rating systems with the same unique ID will return the same rating average, and all widgets with different unique ID will return new 5 star rating system. Best option is always set the value of ratingID attribute as a string of at least 15 characters.

If you want, you can also change other settings: Changing parameter status="active" to status="readonly" makes the widget will only display the stars, but without possibility of voting (useful if you want to show for users the rating average of item but don't allow them to voting in this place, for example at the pages which are indexing posts).

To change size of rating stars to small, raplace attribute starSize="large" to starSize="small".

Replacing textColor="black" to textColor="white" will change color of widget's text (you can use only this 2 colors, "black" or "white").

If You have any questins about 5 Star Rating System, please write a comment.

No comments:

Post a Comment

Home