Sha256: a8828aa132ae8bc3a34c547b23c4011cd33fb5d1d348336bb7cd4be158c62dd2
Contents?: true
Size: 1013 Bytes
Versions: 4
Compression:
Stored size: 1013 Bytes
Contents
$(document).ready(function(){ $(".rateable").jRating({ //default options displayed below -> rateMax: 5, // //Maximal rate length : 5, // //Number of stars //decimalLength : 0 //Number of decimals in the rate //type : big, //Big or small //step : true, //If set to true, filling of the stars is done star by star (step by step). //isDisabled: false, //Set true to display static rating //showRateInfo:false //Rate info panel, set true to display //rateInfosX : 45 //In pixel - Absolute left position of the information box during mousemove. //rateInfosY : 5 //In pixel - Absolute top position of the information box during mousemove. path : '<%= Rails.application.class.routes.url_helpers.ratings_path %>', onSuccess : function(element, rate){ //something like -> alert('success'); }, onError : function(element, rate) { alert('error') } }); });
Version data entries
4 entries across 4 versions & 1 rubygems