I am really just looking for way to display the data, not to worry
about graceful degradation without JavaScript enabled. I had a serious
issue with people using proxies to submit thousands of votes for
irrelevant ratings so now all ratings have to fetch a key in advance
using an AJAX callback to the server (based in part on another
tutorial I found on the jQuery site). If JavaScript is gone I just
show a list of stars so that visitors can see the rating even if they
can't vote.

However, I would like to be able to display incremental stars such
that if I have a rating of 3.75, then 3 stars and 75% of a 4th star
will be shown with the rest grayed out.

On Mar 4, 9:27 am, "Diego A." <[EMAIL PROTECTED]> wrote:
> I have been thinking about this for a few days now, but I haven't had
> the time to do it.
>
> The problem with what you're trying to achieve is that you're looking
> for something to *display* the data, whereas my implementation of the
> plugin focuses on semantic form integration.
>
> Perhaps the way forward is to add the ability to display decimal
> points and accept the input of whole numbers (and at a push, .5s).
>
> How are you going to use this?
>
> On Mar 1, 5:46 pm, AsymF <[EMAIL PROTECTED]> wrote:
>
> > I am now working on the jQuery Star Rating Plugin v1.1 by Diego 
> > A.,http://www.fyneworks.com, [EMAIL PROTECTED]
>
> > I have gotten it working and added the ability to remove the cancel
> > button by adding the following before the line "for(n in groups){":
> > if (settings.nocancel) {
> >         $("div.cancel:has(a[title='" + settings.cancel + "'])").remove();
>
> > }
>
> > I also added "nocancel: false" to the settings at the beginning of the
> > script.
>
> > Now if I could figure out how to get it to show incremental stars for
> > ratings such as 3.2 or 4.6 it would be perfect for my purposes. Any
> > ideas on implementing this? Like I said, I can see it done in the
> > plugin ratings on the jQuery site but don't know which segment of code
> > does that feature.
>
> > On Feb 29, 5:52 pm, AsymF <[EMAIL PROTECTED]> wrote:
>
> > > I would just use the one on the jQuery site if it weren't for the fact
> > > that it relies on a form. The position on the page I want to show the
> > > star rating already has another form so to use that one would mean
> > > putting a form inside a form which causes problems.
>
> > > On Feb 29, 3:19 pm, chrismarx <[EMAIL PROTECTED]> wrote:
>
> > > > is that the same on as here:  http://examples.learningjquery.com/rating/
> > > > ?
> > > > i remember making several changes, let me know if thats the same one-
>
> > > > On Feb 29, 1:16 pm, AsymF <[EMAIL PROTECTED]> wrote:
>
> > > > > I got this one to work:
> > > > > Star Rating Plugin v1.1 ->http://www.fyneworks.com/jquery/star-rating/
>
> > > > > But the half star plugin won't work with 
> > > > > 1.2.3:http://www.learningjquery.com/2007/05/half-star-rating-plugin
>
> > > > > Does anyone know a fix? The stars all appear grayed out and hover also
> > > > > doesn't work.

Reply via email to