I am currently using rate-yo plugin for review system in my project. I can able to add this widget successfully.
The problem is when I hover on review stars I able to get number of stars I chosed, But I want that in tooltip instead of below stars.
Here is snippet and also documentation is here, you can see on hover its working with tooltip in documentation site.
$(function () {
$("#rateYo").rateYo({
precision: 2,
onChange: function (rating, rateYoInstance) {
$(this).next().text(rating);
}
});
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/rateYo/2.3.2/jquery.rateyo.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/rateYo/2.3.2/jquery.rateyo.min.js"></script>
<div id="rateYo"></div>
<div class="counter"></div>
Any help will be appreciated.