Questions tagged [rateyo]

For questions related to jQuery star rating plugin.

should be used for questions related to for star rating.

Usage

$(function () {

  // Render star rating inside of myRatingDiv
  $("#myRatingDiv").rateYo({
    rating: 5.0
  });

});

References

16 questions
4
votes
2 answers

How can I use Rate Yo jQuery star rating plugin with data attribute?

How can I use Rate Yo jQuery star rating plugin with data attribute? Is there any way to set a default initial value via HTML attribute? Is it possible using data-rateyo-score to pass the score value. For example, If I want to start my score…
Mojtaba Reyhani
  • 447
  • 1
  • 6
  • 19
3
votes
2 answers

How to import Jquery RateYo?

I'm trying to import Jquery Rateyo into my project, but it seems to not work. Here's the code import $ from "jquery"; import rateYo from "rateyo"; class Rating { constructor() { $(function() { $("#rateYo").rateYo({ rating: 1.5, …
user10261767
2
votes
1 answer

Rate Yo! - click add disabled

I have a problem with Rate Yo! When the user clicks on the stars, the rating is added. After clicking I would like to add an attribute to id="rateYo" (data-rateyo-read-only = "true"): http://rateyo.fundoocode.ninja/#option-readonly - which blocks…
damian0021
  • 27
  • 1
  • 7
2
votes
2 answers

Controling RatedFill in RateYo using CSS

I am using a great little jQuery plugin called RateYo in my application. It uses SVGs as its method for creating stars which is obviously a great improvement on the traditional method of using images, however it appears to prevent using CSS to…
Maxim Gershkovich
  • 45,951
  • 44
  • 147
  • 243
2
votes
3 answers

Using custom data atribute for rating in RateYo

I have few posts which are loaded from database and in template I set every item to have this structure:
  • Rating:
  • However, I can't manage…
    Nikola Stojaković
    • 2,257
    • 4
    • 27
    • 49
    2
    votes
    2 answers

    Why do the rating stars start on a new line?

    I have implemented rateYo's rating plug-in, which I really like. I am confounded by why the stars insist on breaking into a new line. My test-site illustrates the problem. I tried styling the div with display: inline and inline-block as well as…
    ron tornambe
    • 10,452
    • 7
    • 33
    • 60
    1
    vote
    1 answer

    How can I get the average star ratings? PHP Codeigniter

    I am creating a rating system where the customer can rate the seller. I am using the rateyo plugin, so there's a float value on it like 2.9, 3.8, 4.5, etc I would like to get all the values of the seller and get the average from it to display…
    Jigen Otsuki
    • 57
    • 1
    • 6
    1
    vote
    1 answer

    How to add RateYo to Django project

    I plan on using the RateYo jQuery plugin within my Django project but there are a variety of parts I plan on changing and therefore I would like to have all the files directly within my project (unless I can easily modify RateYo options with CDNjs…
    Max Michel
    • 575
    • 5
    • 20
    1
    vote
    1 answer

    multiple rateYo 'load' and 'change'

    I am developing web site with ASP.NET CORE and using rateYo script. How to do best way multiple rateyo load and change event. My code in below i need better than it cause of it create multiple scripts
    OMANSAK
    • 1,066
    • 1
    • 12
    • 30
    0
    votes
    1 answer

    show default star rating on rateYo jquery star plugin

    I want to show a preset value for a star rating and I have already used this but nothing is happening.
    0 0 $(function ()…
    user12090212
    0
    votes
    0 answers

    Jquery plugin fails after window loading