I am trying to use jquery.raty.js and jquery.raty.min.js but I want to make big the stars and it does not work. I've change the size in jquery.raty.js and in this function inside the script.
I've got this plugin here:
http://wbotelhos.com/raty
$(document).ready(function () {
$('.star1').raty({
cancel: true,
score: 0,
half: true,
size: 22,
path: 'img',
click: function (score1, evt) {
$('input.valor').val(score1);
}
});
});
I want the star in 22 or 24 pixels but its size is always 16.
Thank you
I had the same problem and for me it was the browser's cache memory... It didn't work until I put in the function this attribute "single:true,"
$('#star').raty({
cancel : true,
cancelOff: 'cancel-off-big.png',
cancelOn : 'cancel-on-big.png',
half : true,
->>>>> single : true,
size : 24,
starHalf : 'star-half-big.png',
starOff : 'star-off-big.png',
starOn : 'star-on-big.png'
});
and then I could see one of them in big size. then I thought that maybe it was the cache.. and it was.
Try it, maybe is the solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With