Sweet! Gotta take a closer look at the script. Very nice.

Rey

Ⓙⓐⓚⓔ wrote:
> something like:
> 
>                               $("a.starRating").each(function(){
>                                       var $this = $(this);
>                                       var href = this.href;
>                                       var stars = $this.text();
>                                       $this.empty();
>                                       for (var i = 0; i < stars.length; i++){
>                                               $this.append("<span class = '" 
> + (i+1) + "'>" +
> stars.substr(i,1) + "</span>");
>                                       }
>                                       $this.children('span').click(function(){
>                                               
> $.get(href,{rating:this.className});
>                                               
> $this.children('span').removeClass("selected");
>                                               $(this).addClass("selected");
>                                               return false;
>                                       })
>                               });
>       
> rate me<a class="starRating" href="stars.cgi?question=1">✰✰✰✰✰</a>!
>       
> dom tested , but I didn't write the cgi or the styles.
> 
> PS
> those are utf-8 stars in the <a>
> 
> 
> On 11/3/06, Sean O <[EMAIL PROTECTED]> wrote:
> 
>>Looking for something to rate the JQuery Button submissions, Rey?
>>
>>;)
>>
>>_______
>>SEAN O
>>
>>
>>
>>Rey Bango-2 wrote:
>>
>>>
>>>Has a star rating plugin like this:
>>>
>>>http://www.masugadesign.com/the-lab/scripts/unobtrusive-ajax-star-rating-bar/
>>>
>>>been developed?
>>>
>>>Rey...
>>>
>>>_______________________________________________
>>>jQuery mailing list
>>>discuss@jquery.com
>>>http://jquery.com/discuss/
>>>
>>>
>>
>>--
>>View this message in context: 
>>http://www.nabble.com/Star-Rating-Plugin--tf2572187.html#a7171176
>>Sent from the JQuery mailing list archive at Nabble.com.
>>
>>
>>_______________________________________________
>>jQuery mailing list
>>discuss@jquery.com
>>http://jquery.com/discuss/
>>
> 
> 
> 

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to