- Posts: 10244
- Thank you received: 3644
Ask the community, share ideas, and connect with other LimeSurvey users!
Can you assist in what needs to be changed to have the area that could, for example, accomodate «a star» with 32x32px?
/* jQuery.Rating Plugin CSS - https://www.fyneworks.com/jquery/star-rating/ */ div.rating-cancel,div.star-rating{float:left;width:33px;height:31px;text-indent:-999em;cursor:pointer;display:block;background:transparent;overflow:hidden} div.rating-cancel,div.rating-cancel a{background:url(delete_x32.gif) no-repeat 0 -32px} div.star-rating,div.star-rating a{background:url(star_x32.gif) no-repeat 0 0px} div.rating-cancel a,div.star-rating a{display:block;width:32px;height:100%;background-position:0 0px;border:0} div.star-rating-on a{background-position:0 -32px!important} div.star-rating-hover a{background-position:0 -64px} /* 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 */
I would really like a 10 point star option...
<div id="starContainer"> <input type="radio" class="arrayStar" title="1" value="1" name="q1Rate" /> <input type="radio" class="arrayStar" title="2" value="2" name="q1Rate" /> <input type="radio" class="arrayStar" title="3" value="3" name="q1Rate" /> <input type="radio" class="arrayStar" title="4" value="4" name="q1Rate" /> <input type="radio" class="arrayStar" title="5" value="5" name="q1Rate" /> <input type="radio" class="arrayStar" title="6" value="6" name="q1Rate" /> <input type="radio" class="arrayStar" title="7" value="7" name="q1Rate" /> <input type="radio" class="arrayStar" title="8" value="8" name="q1Rate" /> <input type="radio" class="arrayStar" title="9" value="9" name="q1Rate" /> <input type="radio" class="arrayStar" title="10" value="10" name="q1Rate" /> </div>
// IE6 Background Image Fix if ($.browser.msie) try { document.execCommand("BackgroundImageCache", false, true)} catch(e) { }; // Thanks to https://www.visualjquery.com/rating/rating_redux.html