Jquery simple rating system with star
jquery simple rating system with small stars, appropriate for rating any online reviews.
Installation
Step1:include css and js files.
<script type="text/javascript" src="your directory/jquery.js"></script> <link href="your directory/rating_simple.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="your directory/rating_simple.js"></script>
Step2:create textbox input or hidden input.
<input name="my_input" value="3" id="rating_simple" type="text"> or <input name="my_input" value="3" id="rating_simple" type="hidden">
Step3:add script.
<script language="javascript" type="text/javascript"> $(function() { $("#rating_simple").webwidget_rating_simple({ rating_star_length: '5', rating_initial_value: '', rating_function_name: '', directory: 'your star image directory/' }); }); </script>
parameter explanatory
rating_star_length: | The star count |
rating_initial_value: | The initial value |
rating_function_name: | Function name response to click |
directory: | Star image directory |
You might also like
Tags
accordion accordion menu animation navigation animation navigation menu carousel checkbox inputs css3 css3 menu css3 navigation date picker dialog drag drop drop down menu drop down navigation menu elastic navigation form form validation gallery glide navigation horizontal navigation menu hover effect image gallery image hover image lightbox image scroller image slideshow multi-level navigation menus rating select dependent select list slide image slider menu stylish form table tabs text effect text scroller tooltips tree menu vertical navigation menu