auxiliary / enrate.js

Simple plugin for star rating markup using FontAwesome.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enrate.js

Simple plugin for star rating markup using FontAwesome.io

Usage

$(document).ready(function(){
    $("body").enrate()
});

Some sample markups:

To show 3 stars from 7: <i class="enrate-3-f-7"></i>

To show 2 and a half stars from 5: <i class="enrate-2-h-5"></i>

To show 1 and a half stars from 3: <i class="enrate-1-h-3"></i>

About

Simple plugin for star rating markup using FontAwesome.io


Languages

Language:HTML 56.1%Language:JavaScript 43.9%