I did similar thing, fully unobtrusive, as part o some cms. It is very 
similar, but I'm not allowed to post it, shmr, shmrc...

----- Original Message ----- 
From: "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]>
To: "jQuery Discussion." <discuss@jquery.com>
Sent: Saturday, November 04, 2006 6:37 AM
Subject: Re: [jQuery] Star Rating Plugin?


> 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/
> 


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

Reply via email to