Questions tagged [raty]

Raty is a plugin for JQuery that displays interactive star-ratings.

Raty is a plugin for JQuery that can be used to display star-rating controls. Its icons and hints can be customized.

The Raty plugin is 7K in size (minified), and licensed under the MIT license.

Usage and download:

102 questions
0
votes
1 answer

Disable stars highlighting but enable click even for jQuery Raty plugin

I use jQuery Raty plugin. It's great and does most of what I need. I've been searching for a solution to not highlight stars when a user moves cursor over the control. Making it just readOnly: true doesn't help because it disables click event which…
rishat
  • 8,206
  • 4
  • 44
  • 69
0
votes
1 answer

Rails 4 doen't show stars jquery-raty-rails gem

I have installed jquery-raty-rails gem. Into my view.haml I have: %p Averate rating #star Into other view .erb I have this code (I render this view inside which one have #star ) $('#star').raty({ readOnly: true, score: 2 }); But no way. I…
Luismiv85
  • 50
  • 1
  • 10
0
votes
1 answer

raty rating default value for multiple rating

I am using jquery raty (a rating script). I have multiple rating options and if none of them are selected the hidden post field that is generated doesnt exist. This is how I was able to name and pull the score selected for all 4…
Exploit
  • 6,278
  • 19
  • 70
  • 103
0
votes
1 answer

rails 4.0 routing error for image using jQuery plugin

I'm using a star rating jquery plugin that requires a few star images in my rails 4 application. The images aren't showing up and I keep getting an error saying ActionController::RoutingError (No route matches [GET] "/star-on.png"): similar to…
parameter
  • 894
  • 2
  • 18
  • 35
0
votes
1 answer

jQuery plugin for rails application images not loading

I'm using the jQuery plugin Raty for my ruby on rails 4.0 application and it seems to be working except the images for the stars aren't loading onto the screen. So those images should be stars ^ When I mouseover them in the console while running…
parameter
  • 894
  • 2
  • 18
  • 35
0
votes
1 answer

Raty multiple ratings

I am using Raty star plugin in read only mode, the rating numbers are coming from database and I have 7 scores and I want star rating for each of 'em. Even though I put the div in a while loop, I am only getting one star rating. can someone help me…
user3412305
  • 261
  • 1
  • 4
  • 15
0
votes
1 answer

Django template tag / jquery for- iteration?

Just a small problem i can't get my head around right now: I have a list of objects presented in a table. One of the objects values is a score. I can use a Django template tag to show this as a number but i want to use my jquery plug-in to show…
user3199840
  • 525
  • 2
  • 13
  • 35
0
votes
1 answer

Django-ratings - 404 error "Invalid model or app_label"? Why?

Can someone help me with Django-ratings app? I'm trying to post a rating but the app doesn't seem to do anything. What part am I missing here? Really hard to find examples out there.. My function looks like this (jquery Raty…
user3199840
  • 525
  • 2
  • 13
  • 35
0
votes
0 answers

jQuery raty + database

I have problem with jQuery raty + database. I want to add rate to my database. But it isn't work... My js Code : $(function() { $.fn.raty.defaults.path = 'images/img'; //$('#default-demo').raty(); $('#score-demo').raty({ cancel : true, …
Kubol
  • 136
  • 10
0
votes
1 answer

How can I get some parameter value in jquery raty plugin, with click event?

I am working on a project. Its looking like a blog site. In index page, i have added raty plugin for rate the article. When I rate a post, i am getting ratting value by click event. I need that article id & user id on click function of raty…
Bilash
  • 119
  • 1
  • 1
  • 7
0
votes
2 answers

javascript data to form hidden file in php

In my mvc application i used raty for rating my image. Here is my code
andDev
  • 275
  • 2
  • 5
  • 15
0
votes
1 answer

Parsley.js validation

As an exercise I have added some parsley validation to this form here http://matthewpiatetsky.com/cs401/login.html I am now trying to add a similar validation to the form here http://matthewpiatetsky.com/cs401/writereviews.html (I have some mouseout…
LemonMan
  • 2,963
  • 8
  • 24
  • 34
0
votes
1 answer

Jquery Raty Form PHP

I'm using jQuery raty for a personal website. I have a form and raty generates the following for each set of stars where value contains the values I want to get. I have 10 fields with 5 stars each, and…
LemonMan
  • 2,963
  • 8
  • 24
  • 34
0
votes
0 answers

jquery: multiple paths in option plugins?

I'm using a plugin for star ratings: raty It has a path option where you can set your path to find your star images. I was wondering if jQuery allows multiple paths to be set or does it only work if the plugin has defined the ability? for instance…
hellomello
  • 8,219
  • 39
  • 151
  • 297
0
votes
2 answers

jquery raty plugin set the rate value via angularjs

I'm trying to use jquery raty plugin for star rating with angularjs. I created a custom directive for it as the following: app.directive("ngStars", function() { return { restrict: 'A', link: function(scope, elem,…
Mohamed Nagy
  • 1,054
  • 1
  • 11
  • 31