Complete star plugin implmentation on backend with database writes.
/* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */
div.rating-cancel {
float:left;
width:17px;
height:15px;
margin-left: 3%;
text-indent:-999em;
cursor:pointer;
display:block;
background:transparent;
overflow:hidden;
}
div.star-rating {
float:left;
width:17px;
height:15px;
text-indent:-999em;
cursor:pointer;
display:block;
background:transparent;
overflow:hidden;
}
div.rating-cancel,div.rating-cancel a {
background:url(/site-content/images/delete.gif) no-repeat 0 -16px
}
div.star-rating,div.star-rating a {
background:url(/site-content/images/star.gif) no-repeat 0 0px
}
div.rating-cancel a,div.star-rating a {
display:block;
width:16px;
height:100%;
background-position:0 0px;
border:0
}
div.star-rating-on a {
background-position:0 -16px!important
}
div.star-rating-hover a {
background-position:0 -32px
}
/* Read Only CSS */
div.star-rating-readonly a{
cursor:default !important
}
/* Partial Star CSS */
div.star-rating{
background:transparent!important;
overflow:hidden!important
}
/* END jQuery.Rating Plugin CSS */
label {
float: left;
width: 40%;
position: relative;
top: -5px;
font-weight:bold;
margin:5px 0;
margin-right: 1em;
text-align: right;
}