Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assigning .raty() to a class for use with multiple displays of rating stars for different 'objects' on a single page #3

Closed
jessemarple opened this issue Nov 6, 2010 · 2 comments

Comments

@jessemarple
Copy link

For a project, I'm wanting to use .raty to show the rating set by a member for particluar object (event, restaurant, etc). I have four different methods: getReviewsByNameAscending, getReviewsByNameDescending, etc . . .

However, it seems as though I can only get raty to work correctly when I'm working with a SINGLE dom element (e.g. an ID or a CLASS that doesn't any siblings in the same class). What occurs when I use a class (and am applying .raty during an $each loop), is that all of the values for the for the rating are displayed (so, if there are four reviews, then you see four sets of stars for each review when there should (ideally) be only the set of stars related to that particular review.

Thoughts or ideas?

.raty is the CLEANEST solution out there for jquery rating. Period. Anyone reading this shouldn't be dissuaded by my issues from using it. I am trying to do something I dont think .raty was build for or can handle without some augmentation. Again, if you're looking for a easy, flexible jquery rating solution, .raty is it.

@wbotelhos
Copy link
Owner

It has been fixed in the new version:
https://github.com/downloads/wbotelhos/raty/jquery.raty-0.9.zip

If it's ok, then close the issue for me please.
Thank you. (:

@shabari585
Copy link

when i am using raty-js in angular4 in ngFor loop it is not functioning .please help me:(

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants