Rate this service:
Customizing Reviews
| 1. | Multiple reviews on the same page |
You can have multiple instances of Reviews, Ratings and Comments on the same page. Be sure to use distinct path specifications to link each rating to its corresponding comment box:
<div class="js-kit-rating" path="blogEntry1"></div> <div class="js-kit-comments" path="blogEntry1"></div> ... <div class="js-kit-rating" path="blogEntry2"></div> <div class="js-kit-comments" path="blogEntry2"></div> ... |
|---|---|---|
| 2. | Using Comments and Ratings in standalone mode |
If you do not want the Ratings service and Comments service to work in this integrated fashion, you may force each of them to work in standalone mode by adding standalone="yes" to either <DIV> tag:
<div class="js-kit-rating" standalone="yes"></div> <div class="js-kit-comments" standalone="yes"></div> |
| 3. | Use a permanent URL for each object |
Use a permanent URL for each object (blog post,article,etc).
<div class="js-kit-ratings" title="Cool Stuff" permalink="http://mysite.com/permanent/link/to/page.html"></div> <div class="js-kit-comments" permalink="http://mysite.com/permanent/link/to/page.html"></div> <script src="http://js-kit.com/reviews.js"></script> |
