I want only the star selected get marked. Websun, You will also need the images for the star on star off star half and you may skip the fonts ; I did that. If anyone can get it to fully work let me know! So just 'img' and the stars assets should be loaded correctly. The score element is create only if you don't provide a valid existent target score: The arguments is the same of the mouseover callback. Average rating isn't working http:
Uploader: | Malara |
Date Added: | 23 November 2009 |
File Size: | 21.39 Mb |
Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
Downloads: | 16489 |
Price: | Free* [*Free Regsitration Required] |
Raty already has a hidden field called score by default the you can change. Set jqueryy only if you want the same path for all icons. Malek, It was fixed on version 2.
Hi Washington, I would like to thank you for this plugin. Hi, how can i add this on a wordpress page?
The range attribute is until wich position the icon will be displayed. Hi, I am trying to change the to readonly onclick but it is not working. You can mension the Raty element DOM itself using this.
Full-featured Star Rating Plugin For jQuery - Raty | Free jQuery Plugins
If you pass undefinedthis position will be ignored and receive the default hint. The boolean parameter tells if the click will be called or not. I could not to see the problem. The click callback is not working with other options.
jQuery Raty | A Star Rating Plugin - Washington Botelho
Hello, I have created a very simple page. Please use the standard event. Any thoughts as to how to resolve this?
The value send by jQuery Raty is a hidden field, not what you put inside the div. First, when you have a doubt try to do a simpler example as possible. I suggest to add this feature as an option. The off attribute is the inactive icon.
You can decide if the rating will be readOnly dynamically returning true of false on callback.
Subscribe to RSS
Now, we can get the score from the callbcak function when the raty was initialized, suck as: Washington, First, thank you for writing and sharing this. Here is my code my div's ID is starRating: The options score just do the rating.
Jqueery the jjquery function, I have changed: Tatiana Perere, Good job, but it is a option called single. Or you can just let the user to vote and create a submit button that jquerg send the value keeped into hidden field named score by default.
Changes the name of the half star. Put some code on a live example on web then pass us the link. Jing, Inside click callback, calls the readOnly function. Websun, You will also need the images for the star on star off star half and you may skip the fonts ; I did that.
Jqueyr problem is about import, about jQuery, not about Raty. Check if you jQuery version has the new method on. Please, open an issue. Average rating isn't working.
No comments:
Post a Comment