Very nice. A couple of things came to mind:
  • How would I go about changing the pics?
  • Would it be possible to have the 'hover' pics different from the passive ones? ie when the user goes to select, the stars change color. Even if you could point out how to do it with an extra hover event and some css classes.
Blair

On 11/8/06, Wil Stuckey <[EMAIL PROTECTED]> wrote:
Ok so I said I was going to convert a old rating script to a jQuery plugin. Well, I finished it and I tried to document it properly and write it well. There are so many different styles people use for writing _javascript_ it's hard to say what the "best" practice is. I would appreciate comments and suggestions.

http://sandbox.wilstuckey.com/jquery-ratings/

Features:
* 100% degradable.
* Builds the interface based on a simple HTML structure.
* Supports fractional ratings!!!
* Posts the result on click. (backend not built)
* Returns a jQuery object with the new elements. (not the original form elements)

Thank you,
Wil Stuckey





_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to