Content last modified Monday 3 September 2018
hop to #bottom
Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
  • Helpful?
  • 10 Yes
  • 2 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

css_rating

Inroduction

css_rating is a Ajax rating system for Textpattern based on Unobtrusive AJAX Star Rating Bar

Features

  • uses CSS for voting bar
  • IP limiting
  • scalable voting bar 1 to 10 units
  • uses Ajax

Usage and Tags

<txp:css_rating_bar /> is used to draw voting bar
Attributes:

  • id: default is current article id (uses $thisarticle[‘thisid’]) and most of the cases you don’t have to specify this. If you want to show rating bar for a diffent article find its article id on articles list. e.g. on index: vote for my awsome “AAA Titled” article <txp:css_rating_bar id="x" /> where “x” is my “AAA Titled” article id (integer)
  • units: number of rating units you want to use, default is 10. 10 is upper limit.
  • unitwidth: Width of a rating unit in pixel, default is 30. Note that unitwidth is not used for styling, in rating.css default value 30px used so if you change it you shoul edit the rating style sheet
  • firstvote: Give your fist vote for all articles, default 7

<txp:css_rating_js /> is used for neccesary javascript and css files. This should be placed in <head> </head> tags
Attributes:

  • js: default is empty, it used for uploaded .js file id

Article Request Count:
Keywords/tags:
Initially released:
01 March 2007
Posted here:
01 Mar 2007

You know you want to visit the Archives.
Published with Textpattern