Submit your widget

Ratyli: Simple jQuery Rating Plugin

Created about a year ago   Views 3939   downloads 759    Author peet86
Ratyli: Simple jQuery Rating Plugin
View DemoDownload 37.7 KB
12
Share |

Ratyli: Simple jQuery Rating Plugin

 

HTML

<span class="ratyli" data-rate="3"></span>

JS

$(function() {
    $('.ratyli').ratyli();
});

Quick start:

Incude the latest jQuery library and the jquery.ratyli.min.js script in to your HTML <header> or before the </body> tag:

<script src="jquery.ratyli.min.js"></script>

CSS

No CSS required, but you can pimp your ratings with these CSS selectors:

.ratyli{} /* container style*/
.ratyli.rated{} /* container style after rating*/
.ratyli .rate{} /* sign style*/
.ratyli .rate-active{} /* sign hover style */
.ratyli .rate-full{} /* full sign style */
.ratyli .rate-empty{} /* empty sign style */
/*etc..*/

Read more:https://github.com/peet86/Ratyli/#js