Rating

jQuery plugin - starRating 1.0

- Authoring

jQuery plugin

Wish&Wisdom - psh01111@gmail.com

Mar 1 2010

- Download

  1. jquery
  2. starRating 1.0

- Overview

The starRating is a jQuery plugin that implements in javascript, commonly only available to the web developer via Flash or other proprietary plugins.
The following options and examples display something wanted to be rated by the number of stars. Follow the examples and I hope you enjoy.

This plugin support the Metadata Plugin

Use markup to override plugin default options. It lets an option setting which goes like this able to use.

- Options and default

You can set the number of stars, which will be rated.

options

  1. URL - The website which will be posted
  2. maxvalue - The number of stars is maximum.
  3. curvalue - stars selected.

- Example

  1. Default
    	
    	jQuery(function($) {
    		$('#star0').starRating();
    	});

     




  2. example 1
    	
    	jQuery(function($) {
    		$('star1').starRating('www.url.com',{maxvalue:1,curvalue:0});
    	});




  3. example 2
    	
    	jQuery(function($) {
    		$('#star2').starRating('www.url.com',{maxvalue 3: ,curvalue : 0});
    	});




  4. example 3
    	
    	jQuery(function($) {
    		$('#star3').starRating('www.url.com',{maxvalue : 10,curvalue : 3});
    	});





Counter

Trackbacks

Tags