[jQuery] Re: Star rating plugin problems

2009-04-01 Thread Diego A.
Hi Sergey,
I've just been to your site to take a look but it seems to be working fine
now.
Glad you worked it out.

Cheers,
Diego A.


2009/3/30 Sergey 

>
> Hello Diego,
>
> Have recently installed it on one my hobby site and I have a small
> problem on plugin and cant find what is wrong.
> it works perfectly in FF, IE but not in safari and chrome.
>
> Using split and it display all half parts of star.
> If you have a min to tell where should i look at will be greatly
> appreciated. ( site is: movie-collection.com )
>
> Regards
>
> >
>


[jQuery] Re: Star rating plugin problems

2009-03-29 Thread Sergey

Hello Diego,

Have recently installed it on one my hobby site and I have a small
problem on plugin and cant find what is wrong.
it works perfectly in FF, IE but not in safari and chrome.

Using split and it display all half parts of star.
If you have a min to tell where should i look at will be greatly
appreciated. ( site is: movie-collection.com )

Regards


[jQuery] Re: Star rating plugin problems

2009-03-18 Thread Philip Garrett

I can confirm that this has solved my problem.  Thanks, Diego!

- Philip

On Mar 18, 1:27 pm, "Diego A."  wrote:
> This issue has been resolved. Please download the latest version of
> the plugin:
> This is an old issue which has been resolved. Please download the
> latest version of the plugin:http://www.fyneworks.com/jquery/star-rating/
>
> On Jan 29, 6:44 pm, "matthias.otto...@googlemail.com"
>
>  wrote:
> > Hi Philip,
>
> > I have exactly the same problem. Browser independent. JQuery 1.3.1 and
> > Star Rating 2.61 (as of January 23, 2009).
>
> > Also does:
>
> > 
> > 
> > 
> > 
> > 
>
> > ... lead to: star-off, star-off, star-on, star-off, star-off - again
> > happening in a container injected through AJAX.
>
> > Thanks,
>
> > Matt
>
> > On Dec 7 2008, 9:23 pm, Philip Garrett 
> > wrote:
>
> > > Hi,
>
> > > I'm using the latest available version of thestarratingplugin from
> > > fyneworks (http://www.fyneworks.com/jquery/star-rating/) with jQuery
> > > 1.2.6.
>
> > > I'm having a few problems when using thestarratings with ajax.  My
> > > ajax form actually replaces the div that contains the stars widget
> > > with a fresh one that represents the changedrating.
>
> > > After replacing the widget with $("#container").html(...), these
> > > problems start:
> > > 1. The cancel button disappears
> > > 2. Mouseovers on the stars stop working until you click anotherstar
> > > 3. Mouseovers get stuck (especially when mousing off rightwards)
> > > 4. This error will eventually happen: 'elem.parentNode is
> > > null' [jquery-1.2.6.js (line 1259)]
>
> > > I've put together a quick example of the problems 
> > > here:http://www.pgarrett.net/stars/
>
> > > Any help you can offer is appreciated.
>
> > > Thanks,
> > > Philip


[jQuery] Re: Star rating plugin problems

2009-03-18 Thread Diego A.

This issue has been resolved. Please download the latest version of
the plugin:
This is an old issue which has been resolved. Please download the
latest version of the plugin:
http://www.fyneworks.com/jquery/star-rating/

On Jan 29, 6:44 pm, "matthias.otto...@googlemail.com"
 wrote:
> Hi Philip,
>
> I have exactly the same problem. Browser independent. JQuery 1.3.1 and
> Star Rating 2.61 (as of January 23, 2009).
>
> Also does:
>
> 
> 
> 
> 
> 
>
> ... lead to: star-off, star-off, star-on, star-off, star-off - again
> happening in a container injected through AJAX.
>
> Thanks,
>
> Matt
>
> On Dec 7 2008, 9:23 pm, Philip Garrett 
> wrote:
>
> > Hi,
>
> > I'm using the latest available version of thestarratingplugin from
> > fyneworks (http://www.fyneworks.com/jquery/star-rating/) with jQuery
> > 1.2.6.
>
> > I'm having a few problems when using thestarratings with ajax.  My
> > ajax form actually replaces the div that contains the stars widget
> > with a fresh one that represents the changedrating.
>
> > After replacing the widget with $("#container").html(...), these
> > problems start:
> > 1. The cancel button disappears
> > 2. Mouseovers on the stars stop working until you click anotherstar
> > 3. Mouseovers get stuck (especially when mousing off rightwards)
> > 4. This error will eventually happen: 'elem.parentNode is
> > null' [jquery-1.2.6.js (line 1259)]
>
> > I've put together a quick example of the problems 
> > here:http://www.pgarrett.net/stars/
>
> > Any help you can offer is appreciated.
>
> > Thanks,
> > Philip


[jQuery] Re: Star rating plugin problems

2009-01-29 Thread matthias.otto...@googlemail.com

Hi Philip,

I have exactly the same problem. Browser independent. JQuery 1.3.1 and
Star Rating 2.61 (as of January 23, 2009).

Also does:







... lead to: star-off, star-off, star-on, star-off, star-off - again
happening in a container injected through AJAX.


Thanks,

Matt





On Dec 7 2008, 9:23 pm, Philip Garrett 
wrote:
> Hi,
>
> I'm using the latest available version of thestarratingplugin from
> fyneworks (http://www.fyneworks.com/jquery/star-rating/) with jQuery
> 1.2.6.
>
> I'm having a few problems when using thestarratings with ajax.  My
> ajax form actually replaces the div that contains the stars widget
> with a fresh one that represents the changedrating.
>
> After replacing the widget with $("#container").html(...), these
> problems start:
> 1. The cancel button disappears
> 2. Mouseovers on the stars stop working until you click anotherstar
> 3. Mouseovers get stuck (especially when mousing off rightwards)
> 4. This error will eventually happen: 'elem.parentNode is
> null' [jquery-1.2.6.js (line 1259)]
>
> I've put together a quick example of the problems 
> here:http://www.pgarrett.net/stars/
>
> Any help you can offer is appreciated.
>
> Thanks,
> Philip


[jQuery] Re: Star rating plugin problems

2008-12-19 Thread Philip Garrett

Bump

On Dec 7, 11:23 pm, Philip Garrett  wrote:
> Hi,
>
> I'm using the latest available version of the star rating plugin from
> fyneworks (http://www.fyneworks.com/jquery/star-rating/) with jQuery
> 1.2.6.
>
> I'm having a few problems when using the star ratings with ajax.  My
> ajax form actually replaces the div that contains the stars widget
> with a fresh one that represents the changed rating.
>
> After replacing the widget with $("#container").html(...), these
> problems start:
> 1. The cancel button disappears
> 2. Mouseovers on the stars stop working until you click another star
> 3. Mouseovers get stuck (especially when mousing off rightwards)
> 4. This error will eventually happen: 'elem.parentNode is
> null' [jquery-1.2.6.js (line 1259)]
>
> I've put together a quick example of the problems 
> here:http://www.pgarrett.net/stars/
>
> Any help you can offer is appreciated.
>
> Thanks,
> Philip


[jQuery] Re: Star rating plugin + rails

2008-07-14 Thread CL (Ciu Loeng) Lam
It's pretty gool!

2008/7/13 Diego A. <[EMAIL PROTECTED]>:

> Hi JB,
>
> Thank you for spotting this problem and posting back with the solution.
> I've added this fix to the plugin and will publish it on Monday (when I
> have FTP access).
>
> Cheers,
> Diego A.
>
> 2008/7/9 JB <[EMAIL PROTECTED]>:
>
>
>> I figured this out, just in case anyone else has the same problem.
>> The issue revolves around brackets [ ] not being allowed in css class
>> names.
>>
>> The plugin takes the name of the field and uses it to generate a class
>> name of the form "star_group_yourfieldnamehere" so with a rails form
>> field, you'd end up with a class name like:
>>
>> star_group_mymodel[myfield]
>>
>> which is an illegal css class name.  I fixed this by changing the
>> following code:
>>
>> var n = this.name;
>>
>> to this:
>>
>> var n = this.name.replace(/^(.*?)\[(.*?)\]$/, "$1_$2");
>> var real_n = this.name;
>>
>> this removes the brackets and makes rails form names appear like
>> mymodel_myfield instead of mymodel[myfield].  I defined real_n so that
>> it can still be used for the hidden field.  Works like a charm now!
>>
>> On Jul 9, 9:58 am, JB <[EMAIL PROTECTED]> wrote:
>> > Hi -
>> >
>> > I'm trying to use the excellent star rating plugin from fyneworks
>> > (http://www.fyneworks.com/jquery/star-rating) with a rails project I'm
>> > working on.  I'm running into a bit of an issue that I wonder if
>> > anyone else has seen.
>> >
>> > Typical names of form fields in a rails app look something like this:
>> >
>> > mymodel[myfield]
>> >
>> > which I suspect is causing an issue with this plugin.  If I leave the
>> > form as generated by rails, with names like above, then the mouseout
>> > and click events don't behave properly.  mouseout doesn't remove the
>> > stars the way it should, and clicking on a star only highlights the
>> > star you clicked on, instead of all the stars before it also.
>> >
>> > If I manually hack the form names to be regular names, like "myfield"
>> > instead of "mymodel[myfield]" then it works perfectly, but of course
>> > then rails won't process my form correctly because the names aren't
>> > right.
>> >
>> > Has anyone else run into this kind of problem?  Any solutions anyone
>> > can think of?  I tried going through the plugin code, but I'm afraid
>> > my jQuery-fu isn't where it needs to be to spot the problem.
>> >
>> > Any help is greatly appreciated.thanks!
>>
>
>
>
> --
> Cheers,
> Diego A.


[jQuery] Re: Star rating plugin + rails

2008-07-12 Thread Diego A.
Hi JB,

Thank you for spotting this problem and posting back with the solution.
I've added this fix to the plugin and will publish it on Monday (when I have
FTP access).

Cheers,
Diego A.

2008/7/9 JB <[EMAIL PROTECTED]>:

>
> I figured this out, just in case anyone else has the same problem.
> The issue revolves around brackets [ ] not being allowed in css class
> names.
>
> The plugin takes the name of the field and uses it to generate a class
> name of the form "star_group_yourfieldnamehere" so with a rails form
> field, you'd end up with a class name like:
>
> star_group_mymodel[myfield]
>
> which is an illegal css class name.  I fixed this by changing the
> following code:
>
> var n = this.name;
>
> to this:
>
> var n = this.name.replace(/^(.*?)\[(.*?)\]$/, "$1_$2");
> var real_n = this.name;
>
> this removes the brackets and makes rails form names appear like
> mymodel_myfield instead of mymodel[myfield].  I defined real_n so that
> it can still be used for the hidden field.  Works like a charm now!
>
> On Jul 9, 9:58 am, JB <[EMAIL PROTECTED]> wrote:
> > Hi -
> >
> > I'm trying to use the excellent star rating plugin from fyneworks
> > (http://www.fyneworks.com/jquery/star-rating) with a rails project I'm
> > working on.  I'm running into a bit of an issue that I wonder if
> > anyone else has seen.
> >
> > Typical names of form fields in a rails app look something like this:
> >
> > mymodel[myfield]
> >
> > which I suspect is causing an issue with this plugin.  If I leave the
> > form as generated by rails, with names like above, then the mouseout
> > and click events don't behave properly.  mouseout doesn't remove the
> > stars the way it should, and clicking on a star only highlights the
> > star you clicked on, instead of all the stars before it also.
> >
> > If I manually hack the form names to be regular names, like "myfield"
> > instead of "mymodel[myfield]" then it works perfectly, but of course
> > then rails won't process my form correctly because the names aren't
> > right.
> >
> > Has anyone else run into this kind of problem?  Any solutions anyone
> > can think of?  I tried going through the plugin code, but I'm afraid
> > my jQuery-fu isn't where it needs to be to spot the problem.
> >
> > Any help is greatly appreciated.thanks!
>



-- 
Cheers,
Diego A.


[jQuery] Re: Star Rating Plugin

2008-07-09 Thread [EMAIL PROTECTED]

Hi Diego and thanks for this plugin,

I've used your script in a plugin for a cms called SPIP (spip.net).
Everythings work nice but i've got only one little bug when the rating
form is submitted by ajax. In this case the hover class of the star
isn't disapplied whith the mouseout event (line 162 of the star rating
script).

Have you eard about this kind of problem ? Do you know how i could fix
it ?

Thanks again for this great script

Diego A. a écrit :
> Announcement to anyone using this plugin:
>
> - MAJOR BUG FIXES:
>  - - split stars did not work in hidden layers
>  - - now works without dimensions plugin
>
> - New documentation
> - Documentation can be downloaded (works off-line just as it does
> online)


[jQuery] Re: Star rating plugin + rails

2008-07-09 Thread JB

I figured this out, just in case anyone else has the same problem.
The issue revolves around brackets [ ] not being allowed in css class
names.

The plugin takes the name of the field and uses it to generate a class
name of the form "star_group_yourfieldnamehere" so with a rails form
field, you'd end up with a class name like:

star_group_mymodel[myfield]

which is an illegal css class name.  I fixed this by changing the
following code:

var n = this.name;

to this:

var n = this.name.replace(/^(.*?)\[(.*?)\]$/, "$1_$2");
var real_n = this.name;

this removes the brackets and makes rails form names appear like
mymodel_myfield instead of mymodel[myfield].  I defined real_n so that
it can still be used for the hidden field.  Works like a charm now!

On Jul 9, 9:58 am, JB <[EMAIL PROTECTED]> wrote:
> Hi -
>
> I'm trying to use the excellent star rating plugin from fyneworks
> (http://www.fyneworks.com/jquery/star-rating) with a rails project I'm
> working on.  I'm running into a bit of an issue that I wonder if
> anyone else has seen.
>
> Typical names of form fields in a rails app look something like this:
>
> mymodel[myfield]
>
> which I suspect is causing an issue with this plugin.  If I leave the
> form as generated by rails, with names like above, then the mouseout
> and click events don't behave properly.  mouseout doesn't remove the
> stars the way it should, and clicking on a star only highlights the
> star you clicked on, instead of all the stars before it also.
>
> If I manually hack the form names to be regular names, like "myfield"
> instead of "mymodel[myfield]" then it works perfectly, but of course
> then rails won't process my form correctly because the names aren't
> right.
>
> Has anyone else run into this kind of problem?  Any solutions anyone
> can think of?  I tried going through the plugin code, but I'm afraid
> my jQuery-fu isn't where it needs to be to spot the problem.
>
> Any help is greatly appreciated.thanks!


[jQuery] Re: Star Rating Plugin

2008-07-02 Thread C.Everson

On Wed, 2 Jul 2008 07:32:14 -0700 (PDT), Diego A. wrote:

> Thanks for pointing that out.
> 
> Silly me thought it would be OK to test using the "Simulate IE7"
> feature in IE8.
> Turns out not even that works in IE...

LOL - I can believe that.  I don't even have IE8 beta installed right now
as it is still "too early" IMHO to be worth more than a casual glance now
and then...
 
> Anyway, lesson learnt, all fixed now!

Thanks - much better now!

One small thing I did notice (when comparing IE7 with FF2)

At http://www.fyneworks.com/jquery/star-rating/#tab-Download

In IE7 on the download tab after the word "Package" and before "V2.3" there
is a weird graphic display (maybe a messed up bullet?) that does not appear
in FF.

Not sure what is up there, but figured you'd want to know.

Chuck




[jQuery] Re: Star Rating Plugin

2008-07-02 Thread Diego A.

Thanks for pointing that out.

Silly me thought it would be OK to test using the "Simulate IE7"
feature in IE8.
Turns out not even that works in IE...

Anyway, lesson learnt, all fixed now!

On Jul 2, 5:41 am, "C.Everson" <[EMAIL PROTECTED]> wrote:
> On Tue, 1 Jul 2008 10:53:00 -0700 (PDT), Diego A. wrote:
> > Oops, forgot to post a link:
> >http://www.fyneworks.com/jquery/star-rating/
>
> Thanks for these updates Diego,
>
> But it appears these pages do not work at all in IE7 either.
>
> You may be fine with that, but it does make the rest of us wonder if
> your plug-in's even work with IE7...
>
> ;-)
>
> Chuck


[jQuery] Re: Star Rating Plugin

2008-07-01 Thread C.Everson

On Tue, 1 Jul 2008 10:53:00 -0700 (PDT), Diego A. wrote:

> Oops, forgot to post a link:
> http://www.fyneworks.com/jquery/star-rating/

Thanks for these updates Diego,

But it appears these pages do not work at all in IE7 either.

You may be fine with that, but it does make the rest of us wonder if
your plug-in's even work with IE7...


;-)

Chuck



[jQuery] Re: Star Rating Plugin

2008-07-01 Thread Jack Killpatrick





Thanks Diego. I'm in the process of evaluating your plugin to use in a
project and it's nice to see an update (ie, that the project is alive).

:-)

- Jack

Diego A. wrote:

  Oops, forgot to post a link:
http://www.fyneworks.com/jquery/star-rating/

On Jul 1, 6:50 pm, "Diego A." <[EMAIL PROTECTED]> wrote:
  
  
Announcement to anyone using this plugin:

- MAJOR BUG FIXES:
 - - split stars did not work in hidden layers
 - - now works without dimensions plugin

- New documentation
- Documentation can be downloaded (works off-line just as it does
online)

  
  
  







[jQuery] Re: Star Rating Plugin

2008-07-01 Thread Diego A.

Oops, forgot to post a link:
http://www.fyneworks.com/jquery/star-rating/

On Jul 1, 6:50 pm, "Diego A." <[EMAIL PROTECTED]> wrote:
> Announcement to anyone using this plugin:
>
> - MAJOR BUG FIXES:
>  - - split stars did not work in hidden layers
>  - - now works without dimensions plugin
>
> - New documentation
> - Documentation can be downloaded (works off-line just as it does
> online)


[jQuery] Re: Star Rating Plugin v2.2: Problem disabling cancel button

2008-04-14 Thread DragonI

Cool - thanks kadda!

On Apr 12, 4:06 pm, kadda <[EMAIL PROTECTED]> wrote:
> On Apr 11, 3:35 am, DragonI <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I'm having a problem disabling the cancel button. Maybe it's just
> > me ;)
>
> > code says: //required: false, // disables the 'cancel' button so user
> > can only select one of the specified values
>
> > Here's what I tried:
>
> > 
> > 
> > 
> > 
> > 
> > 
>
> > Also tried:
>
> > $(function(){ $
> > ('[EMAIL PROTECTED]').rating({required:false}); });
>
> > Thanks
>
> I have the same problem, i fixed by just altering the js code on line
> 112. Replacing the if statement with a if(true) which will always be
> true. But I want to know how this can be fixed in html if I want to
> display more than oneratingon the same page using the same js file.
>
>/*if($.rating.groups[n].readOnly || settings.required){*/
>if(true){
> // DO NOT display 'cancel' button
>}
>else{
> // Display 'cancel' button
> $(this).before(
>  $('' +
> settings.cancelValue + '')
>  .mouseover(function(){ $.rating.event.drain(n, this, settings); $
> (this).addClass('star_on'); })
>  .mouseout(function(){ $.rating.event.reset(n, this, settings); $
> (this).removeClass('star_on'); })
>  .click(function(){ $.rating.event.click(n, this, settings); })
> );
>}


[jQuery] Re: Star Rating Plugin v2.2: Problem disabling cancel button

2008-04-12 Thread kadda

On Apr 11, 3:35 am, DragonI <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having a problem disabling the cancel button. Maybe it's just
> me ;)
>
> code says: //required: false, // disables the 'cancel' button so user
> can only select one of the specified values
>
> Here's what I tried:
>
> 
> 
> 
> 
> 
> 
>
> Also tried:
>
> $(function(){ $
> ('[EMAIL PROTECTED]').rating({required:false}); });
>
> Thanks

I have the same problem, i fixed by just altering the js code on line
112. Replacing the if statement with a if(true) which will always be
true. But I want to know how this can be fixed in html if I want to
display more than one rating on the same page using the same js file.

   /*if($.rating.groups[n].readOnly || settings.required){*/
   if(true){
// DO NOT display 'cancel' button
   }
   else{
// Display 'cancel' button
$(this).before(
 $('' +
settings.cancelValue + '')
 .mouseover(function(){ $.rating.event.drain(n, this, settings); $
(this).addClass('star_on'); })
 .mouseout(function(){ $.rating.event.reset(n, this, settings); $
(this).removeClass('star_on'); })
 .click(function(){ $.rating.event.click(n, this, settings); })
);
   }


[jQuery] Re: Star rating plugin for 1.2?

2007-10-12 Thread Mark

Sorry for "reviving" this thread but i'm kinda stuck with this plugin.
The plugin itself is working how it should work so there is not a
issue there.. it's just that i want to do something that i find hard
to do in this case.

Thsi is what i try to do:
1. The user sees rating images and can cast a rating.
2. once the rating is casted the text: "Thanx for your vote!" must appear.
3. Once 1 and 2 are done the "default" rating should get there again
but in a way that the user can't rate anymore.

Any idea of how to do that?


[jQuery] Re: Star rating plugin for 1.2?

2007-09-23 Thread NccWarp9

Excellent, it works now... Thank you so much

On Sep 22, 3:39 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Please excuse the double post. I just updated all the files at
>
> http://examples.learningjquery.com/rating/
>
> Feel free to grab the files from there now.
>
> --Karl
> _
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Sep 22, 2007, at 9:22 AM, Karl Swedberg wrote:
>
> > Sorry about that; I totally forgot to update that one. Look at the
> > one referenced in the blog entry that I pointed you to below,
> > though, and you'll see that it HAS been updated to work in 1.2.1.
> > The single example on that page uses 1.2.1.
>
> > Here is a quick link:
> >http://www.learningjquery.com/scripts/jquery.rating.js
>
> > In the meantime, I'll update the one on
> > examples.learningjquery.com . Thanks a lot for catching that one.
>
> > --Karl
> > _
> > Karl Swedberg
> >www.englishrules.com
> >www.learningjquery.com
>
> > On Sep 22, 2007, at 8:16 AM, NccWarp9 wrote:
>
> >> Im sorry but your plugin onhttp://examples.learningjquery.com/
> >> rating/
> >> does not seem to be working with 1.2.1, I still get star.lt error
> >> And the Jquery that you use on the site is WAY old.
> >> Its $Rev: 276 $ and the new Jquery is $Rev: 3353 $
>
> >> On Sep 21, 3:09 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> >>> I don't know when Ritesh is planning to update is plugin, but my
> >>> modification of it that allows for half-star ratings is working with
> >>> 1.2.1:
>
> >>>http://www.learningjquery.com/2007/05/half-star-rating-plugin
>
> >>> --Karl
> >>> _
> >>> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> >>> On Sep 20, 2007, at 2:18 PM, NccWarp9 wrote:
>
> >>>> is there any information when Ritesh Agrawal star rating plugin
> >>>> will
> >>>> be fixed for 1.2.1 ?>
>
> >>>> On Sep 13, 12:32 am, "Derek Gathright" <[EMAIL PROTECTED]> wrote:
> >>>>> Karl, thanks for the help.
>
> >>>>> I've added those corrections along with a few others and I think
> >>>>> it's 99%
> >>>>> there.  The only issue left is that I can't get the click
> >>>>> methods to
> >>>>> register.  I'll continue playing around with it, but if anyone
> >>>>> else has an
> >>>>> idea as to what the issue may be, I've attached the js file.  The
> >>>>> additional
> >>>>> HTML & CSS can be found here.  http://sandbox.wilstuckey.com/
> >>>>> jquery-ratings/
>
> >>>>> -- Forwarded message --
> >>>>> From: Karl Swedberg <[EMAIL PROTECTED]>
> >>>>> Date: Sep 12, 2007 11:46 AM
> >>>>> Subject: [jQuery] Re: Star rating plugin for 1.2?
> >>>>> To: jquery-en@googlegroups.com
>
> >>>>> The .lt() and .eq() -- and .gt() -- methods were removed from 1.2.
> >>>>> If you'd like to try to patch will stuckey's version, you could
> >>>>> try the
> >>>>> following:
>
> >>>>> line 97:
> >>>>> .slice(0,index).addClass('hover').end();
> >>>>> line 105:
> >>>>> $stars.slice(0,averageIndex).addClass('on').end();
> >>>>> line 108:
>
> >>>>>  $stars.slice(averageIndex,averageIndex+1).addClass('on').children
> >>>>> ('a').css('width',
> >>>>> percent + "%").end().end();
>
> >>>>> I don't know if there are other issues, but these are the most
> >>>>> obvious --
> >>>>> and the easiest to change.
>
> >>>>> Hope that helps.
>
> >>>>> --Karl
> >>>>> _
> >>>>> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> >>>>> On Sep 12, 2007, at 12:19 PM, Derek Gathright wrote:
>
> >>>>> I've been scouring the internet looking for a star rating plugin
> >>>>> for the
> >>>>> latest version of jQuery, but have been unsuccessful.  I really
> >>>>> like these,
> >>>>> but the

[jQuery] Re: Star rating plugin for 1.2?

2007-09-22 Thread Karl Swedberg

Please excuse the double post. I just updated all the files at

http://examples.learningjquery.com/rating/

Feel free to grab the files from there now.

--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Sep 22, 2007, at 9:22 AM, Karl Swedberg wrote:

Sorry about that; I totally forgot to update that one. Look at the  
one referenced in the blog entry that I pointed you to below,  
though, and you'll see that it HAS been updated to work in 1.2.1.  
The single example on that page uses 1.2.1.


Here is a quick link:
http://www.learningjquery.com/scripts/jquery.rating.js

In the meantime, I'll update the one on  
examples.learningjquery.com . Thanks a lot for catching that one.



--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Sep 22, 2007, at 8:16 AM, NccWarp9 wrote:



Im sorry but your plugin on http://examples.learningjquery.com/ 
rating/

does not seem to be working with 1.2.1, I still get star.lt error
And the Jquery that you use on the site is WAY old.
Its $Rev: 276 $ and the new Jquery is $Rev: 3353 $

On Sep 21, 3:09 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:

I don't know when Ritesh is planning to update is plugin, but my
modification of it that allows for half-star ratings is working with
1.2.1:

http://www.learningjquery.com/2007/05/half-star-rating-plugin

--Karl
_
Karl Swedbergwww.englishrules.comwww.learningjquery.com

On Sep 20, 2007, at 2:18 PM, NccWarp9 wrote:



is there any information when Ritesh Agrawal star rating plugin  
will

be fixed for 1.2.1 ?>



On Sep 13, 12:32 am, "Derek Gathright" <[EMAIL PROTECTED]> wrote:

Karl, thanks for the help.



I've added those corrections along with a few others and I think
it's 99%
there.  The only issue left is that I can't get the click  
methods to

register.  I'll continue playing around with it, but if anyone
else has an
idea as to what the issue may be, I've attached the js file.  The
additional
HTML & CSS can be found here.  http://sandbox.wilstuckey.com/
jquery-ratings/



-- Forwarded message --
From: Karl Swedberg <[EMAIL PROTECTED]>
Date: Sep 12, 2007 11:46 AM
Subject: [jQuery] Re: Star rating plugin for 1.2?
To: jquery-en@googlegroups.com



The .lt() and .eq() -- and .gt() -- methods were removed from 1.2.
If you'd like to try to patch will stuckey's version, you could
try the
following:



line 97:
.slice(0,index).addClass('hover').end();
line 105:
$stars.slice(0,averageIndex).addClass('on').end();
line 108:



 $stars.slice(averageIndex,averageIndex+1).addClass('on').children
('a').css('width',
percent + "%").end().end();



I don't know if there are other issues, but these are the most
obvious --
and the easiest to change.



Hope that helps.



--Karl
_
Karl Swedbergwww.englishrules.comwww.learningjquery.com



On Sep 12, 2007, at 12:19 PM, Derek Gathright wrote:



I've been scouring the internet looking for a star rating plugin
for the
latest version of jQuery, but have been unsuccessful.  I really
like these,
but they appear to be incompatible with any recent versions.



http://sandbox.wilstuckey.com/jquery-ratings/http://
php.scripts.psu.edu/rja171/widgets/rating.php



I attempted to update the wilstucky.com one for jQuery 1.2, but
I'm fairly
new to jQuery and wasn't able to figure out the issues.  I got  
past

the $form.title()
errors, but I just couldn't figure out why the hell $star.lt() &
$star.eq()
weren't functions.  Maybe someone with a bit more experience would
be more
successful than me?



On a side note, as I mentioned, I'm new to jQuery.  In fact, my
jQuery
expertise goes back a full 24 hours.  The website I'm coding now
did use
prototype and scriptaculous, but once I looked at the 1.2 version
of jQuery,
I knew I'd found a better solution (for me, anyways).  So I spent
the rest
of the day recoding the site for jQuery.  It was this post that
convinced me
I needed to change.http://jquery.com/blog/2006/08/20/why-jquerys-
philosophy-is-better/



Anyways, if someone has some suggestions or solutions for the star
rating,
that would be much appreciated!



Thanks,
Derek



 star_rating.js
7KDownload








[jQuery] Re: Star rating plugin for 1.2?

2007-09-22 Thread Karl Swedberg
Sorry about that; I totally forgot to update that one. Look at the  
one referenced in the blog entry that I pointed you to below, though,  
and you'll see that it HAS been updated to work in 1.2.1. The single  
example on that page uses 1.2.1.


Here is a quick link:
http://www.learningjquery.com/scripts/jquery.rating.js

In the meantime, I'll update the one on examples.learningjquery.com .  
Thanks a lot for catching that one.



--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Sep 22, 2007, at 8:16 AM, NccWarp9 wrote:



Im sorry but your plugin on http://examples.learningjquery.com/rating/
does not seem to be working with 1.2.1, I still get star.lt error
And the Jquery that you use on the site is WAY old.
Its $Rev: 276 $ and the new Jquery is $Rev: 3353 $

On Sep 21, 3:09 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:

I don't know when Ritesh is planning to update is plugin, but my
modification of it that allows for half-star ratings is working with
1.2.1:

http://www.learningjquery.com/2007/05/half-star-rating-plugin

--Karl
_
Karl Swedbergwww.englishrules.comwww.learningjquery.com

On Sep 20, 2007, at 2:18 PM, NccWarp9 wrote:




is there any information when Ritesh Agrawal star rating plugin will
be fixed for 1.2.1 ?>



On Sep 13, 12:32 am, "Derek Gathright" <[EMAIL PROTECTED]> wrote:

Karl, thanks for the help.



I've added those corrections along with a few others and I think
it's 99%
there.  The only issue left is that I can't get the click  
methods to

register.  I'll continue playing around with it, but if anyone
else has an
idea as to what the issue may be, I've attached the js file.  The
additional
HTML & CSS can be found here.  http://sandbox.wilstuckey.com/
jquery-ratings/



-- Forwarded message --
From: Karl Swedberg <[EMAIL PROTECTED]>
Date: Sep 12, 2007 11:46 AM
Subject: [jQuery] Re: Star rating plugin for 1.2?
To: jquery-en@googlegroups.com



The .lt() and .eq() -- and .gt() -- methods were removed from 1.2.
If you'd like to try to patch will stuckey's version, you could
try the
following:



line 97:
.slice(0,index).addClass('hover').end();
line 105:
$stars.slice(0,averageIndex).addClass('on').end();
line 108:



 $stars.slice(averageIndex,averageIndex+1).addClass('on').children
('a').css('width',
percent + "%").end().end();



I don't know if there are other issues, but these are the most
obvious --
and the easiest to change.



Hope that helps.



--Karl
_
Karl Swedbergwww.englishrules.comwww.learningjquery.com



On Sep 12, 2007, at 12:19 PM, Derek Gathright wrote:



I've been scouring the internet looking for a star rating plugin
for the
latest version of jQuery, but have been unsuccessful.  I really
like these,
but they appear to be incompatible with any recent versions.



http://sandbox.wilstuckey.com/jquery-ratings/http://
php.scripts.psu.edu/rja171/widgets/rating.php



I attempted to update the wilstucky.com one for jQuery 1.2, but
I'm fairly
new to jQuery and wasn't able to figure out the issues.  I got past
the $form.title()
errors, but I just couldn't figure out why the hell $star.lt() &
$star.eq()
weren't functions.  Maybe someone with a bit more experience would
be more
successful than me?



On a side note, as I mentioned, I'm new to jQuery.  In fact, my
jQuery
expertise goes back a full 24 hours.  The website I'm coding now
did use
prototype and scriptaculous, but once I looked at the 1.2 version
of jQuery,
I knew I'd found a better solution (for me, anyways).  So I spent
the rest
of the day recoding the site for jQuery.  It was this post that
convinced me
I needed to change.http://jquery.com/blog/2006/08/20/why-jquerys-
philosophy-is-better/



Anyways, if someone has some suggestions or solutions for the star
rating,
that would be much appreciated!



Thanks,
Derek



 star_rating.js
7KDownload






[jQuery] Re: Star rating plugin for 1.2?

2007-09-22 Thread NccWarp9

Im sorry but your plugin on http://examples.learningjquery.com/rating/
does not seem to be working with 1.2.1, I still get star.lt error
And the Jquery that you use on the site is WAY old.
Its $Rev: 276 $ and the new Jquery is $Rev: 3353 $

On Sep 21, 3:09 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> I don't know when Ritesh is planning to update is plugin, but my
> modification of it that allows for half-star ratings is working with
> 1.2.1:
>
> http://www.learningjquery.com/2007/05/half-star-rating-plugin
>
> --Karl
> _
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Sep 20, 2007, at 2:18 PM, NccWarp9 wrote:
>
>
>
> > is there any information when Ritesh Agrawal star rating plugin will
> > be fixed for 1.2.1 ?>
>
> > On Sep 13, 12:32 am, "Derek Gathright" <[EMAIL PROTECTED]> wrote:
> >> Karl, thanks for the help.
>
> >> I've added those corrections along with a few others and I think
> >> it's 99%
> >> there.  The only issue left is that I can't get the click methods to
> >> register.  I'll continue playing around with it, but if anyone
> >> else has an
> >> idea as to what the issue may be, I've attached the js file.  The
> >> additional
> >> HTML & CSS can be found here.  http://sandbox.wilstuckey.com/
> >> jquery-ratings/
>
> >> -- Forwarded message --
> >> From: Karl Swedberg <[EMAIL PROTECTED]>
> >> Date: Sep 12, 2007 11:46 AM
> >> Subject: [jQuery] Re: Star rating plugin for 1.2?
> >> To: jquery-en@googlegroups.com
>
> >> The .lt() and .eq() -- and .gt() -- methods were removed from 1.2.
> >> If you'd like to try to patch will stuckey's version, you could
> >> try the
> >> following:
>
> >> line 97:
> >> .slice(0,index).addClass('hover').end();
> >> line 105:
> >> $stars.slice(0,averageIndex).addClass('on').end();
> >> line 108:
>
> >>  $stars.slice(averageIndex,averageIndex+1).addClass('on').children
> >> ('a').css('width',
> >> percent + "%").end().end();
>
> >> I don't know if there are other issues, but these are the most
> >> obvious --
> >> and the easiest to change.
>
> >> Hope that helps.
>
> >> --Karl
> >> _
> >> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> >> On Sep 12, 2007, at 12:19 PM, Derek Gathright wrote:
>
> >> I've been scouring the internet looking for a star rating plugin
> >> for the
> >> latest version of jQuery, but have been unsuccessful.  I really
> >> like these,
> >> but they appear to be incompatible with any recent versions.
>
> >>http://sandbox.wilstuckey.com/jquery-ratings/http://
> >> php.scripts.psu.edu/rja171/widgets/rating.php
>
> >> I attempted to update the wilstucky.com one for jQuery 1.2, but
> >> I'm fairly
> >> new to jQuery and wasn't able to figure out the issues.  I got past
> >> the $form.title()
> >> errors, but I just couldn't figure out why the hell $star.lt() &
> >> $star.eq()
> >> weren't functions.  Maybe someone with a bit more experience would
> >> be more
> >> successful than me?
>
> >> On a side note, as I mentioned, I'm new to jQuery.  In fact, my
> >> jQuery
> >> expertise goes back a full 24 hours.  The website I'm coding now
> >> did use
> >> prototype and scriptaculous, but once I looked at the 1.2 version
> >> of jQuery,
> >> I knew I'd found a better solution (for me, anyways).  So I spent
> >> the rest
> >> of the day recoding the site for jQuery.  It was this post that
> >> convinced me
> >> I needed to change.http://jquery.com/blog/2006/08/20/why-jquerys-
> >> philosophy-is-better/
>
> >> Anyways, if someone has some suggestions or solutions for the star
> >> rating,
> >> that would be much appreciated!
>
> >> Thanks,
> >> Derek
>
> >>  star_rating.js
> >> 7KDownload



[jQuery] Re: Star rating plugin for 1.2?

2007-09-21 Thread Derek Gathright
Awesome!  I'll be plugging this into my latest project right away.

On 9/20/07, Karl Swedberg <[EMAIL PROTECTED]> wrote:
>
> I don't know when Ritesh is planning to update is plugin, but my
> modification of it that allows for half-star ratings is working with 1.2.1
> :
>
> http://www.learningjquery.com/2007/05/half-star-rating-plugin
>
> --Karl
> _
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>
>
>
> On Sep 20, 2007, at 2:18 PM, NccWarp9 wrote:
>
>
> is there any information when Ritesh Agrawal star rating plugin will
> be fixed for 1.2.1 ?>
>
> On Sep 13, 12:32 am, "Derek Gathright" <[EMAIL PROTECTED]> wrote:
>
> Karl, thanks for the help.
>
> I've added those corrections along with a few others and I think it's 99%
> there.  The only issue left is that I can't get the click methods to
> register.  I'll continue playing around with it, but if anyone else has an
> idea as to what the issue may be, I've attached the js file.  The
> additional
> HTML & CSS can be found here.
> http://sandbox.wilstuckey.com/jquery-ratings/
>
> -- Forwarded message --
> From: Karl Swedberg <[EMAIL PROTECTED]>
> Date: Sep 12, 2007 11:46 AM
> Subject: [jQuery] Re: Star rating plugin for 1.2?
> To: jquery-en@googlegroups.com
>
> The .lt() and .eq() -- and .gt() -- methods were removed from 1.2.
> If you'd like to try to patch will stuckey's version, you could try the
> following:
>
> line 97:
> .slice(0,index).addClass('hover').end();
> line 105:
> $stars.slice(0,averageIndex).addClass('on').end();
> line 108:
>
>
> $stars.slice(averageIndex,averageIndex+1).addClass('on').children('a').css('width',
> percent + "%").end().end();
>
> I don't know if there are other issues, but these are the most obvious --
> and the easiest to change.
>
> Hope that helps.
>
> --Karl
> _
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Sep 12, 2007, at 12:19 PM, Derek Gathright wrote:
>
> I've been scouring the internet looking for a star rating plugin for the
> latest version of jQuery, but have been unsuccessful.  I really like
> these,
> but they appear to be incompatible with any recent versions.
>
>
> http://sandbox.wilstuckey.com/jquery-ratings/http://php.scripts.psu.edu/rja171/widgets/rating.php
>
> I attempted to update the wilstucky.com one for jQuery 1.2, but I'm fairly
> new to jQuery and wasn't able to figure out the issues.  I got past
> the $form.title()
> errors, but I just couldn't figure out why the hell $star.lt() &
> $star.eq()
> weren't functions.  Maybe someone with a bit more experience would be more
> successful than me?
>
> On a side note, as I mentioned, I'm new to jQuery.  In fact, my jQuery
> expertise goes back a full 24 hours.  The website I'm coding now did use
> prototype and scriptaculous, but once I looked at the 1.2 version of
> jQuery,
> I knew I'd found a better solution (for me, anyways).  So I spent the rest
> of the day recoding the site for jQuery.  It was this post that convinced
> me
> I needed to change
> .http://jquery.com/blog/2006/08/20/why-jquerys-philosophy-is-better/
>
> Anyways, if someone has some suggestions or solutions for the star rating,
> that would be much appreciated!
>
> Thanks,
> Derek
>
>
>
>  star_rating.js
> 7KDownload
>
>
>
>


[jQuery] Re: Star rating plugin for 1.2?

2007-09-21 Thread Derek Gathright
Wish I knew, I've been anticipating it as well.

On 9/20/07, NccWarp9 <[EMAIL PROTECTED]> wrote:
>
>
> is there any information when Ritesh Agrawal star rating plugin will
> be fixed for 1.2.1 ?>
>
> On Sep 13, 12:32 am, "Derek Gathright" <[EMAIL PROTECTED]> wrote:
> > Karl, thanks for the help.
> >
> > I've added those corrections along with a few others and I think it's
> 99%
> > there.  The only issue left is that I can't get the click methods to
> > register.  I'll continue playing around with it, but if anyone else has
> an
> > idea as to what the issue may be, I've attached the js file.  The
> additional
> > HTML & CSS can be found here.
> http://sandbox.wilstuckey.com/jquery-ratings/
> >
> > ------ Forwarded message --
> > From: Karl Swedberg <[EMAIL PROTECTED]>
> > Date: Sep 12, 2007 11:46 AM
> > Subject: [jQuery] Re: Star rating plugin for 1.2?
> > To: jquery-en@googlegroups.com
> >
> > The .lt() and .eq() -- and .gt() -- methods were removed from 1.2.
> > If you'd like to try to patch will stuckey's version, you could try the
> > following:
> >
> > line 97:
> > .slice(0,index).addClass('hover').end();
> > line 105:
> > $stars.slice(0,averageIndex).addClass('on').end();
> > line 108:
> >
>
> >  
> > $stars.slice(averageIndex,averageIndex+1).addClass('on').children('a').css('width',
> > percent + "%").end().end();
> >
> > I don't know if there are other issues, but these are the most obvious
> --
> > and the easiest to change.
> >
> > Hope that helps.
> >
> > --Karl
> > _
> > Karl Swedbergwww.englishrules.comwww.learningjquery.com
> >
> > On Sep 12, 2007, at 12:19 PM, Derek Gathright wrote:
> >
> > I've been scouring the internet looking for a star rating plugin for the
> > latest version of jQuery, but have been unsuccessful.  I really like
> these,
> > but they appear to be incompatible with any recent versions.
> >
> >
> http://sandbox.wilstuckey.com/jquery-ratings/http://php.scripts.psu.edu/rja171/widgets/rating.php
> >
> > I attempted to update the wilstucky.com one for jQuery 1.2, but I'm
> fairly
> > new to jQuery and wasn't able to figure out the issues.  I got past
> > the $form.title()
> > errors, but I just couldn't figure out why the hell $star.lt() &
> $star.eq()
> > weren't functions.  Maybe someone with a bit more experience would be
> more
> > successful than me?
> >
> > On a side note, as I mentioned, I'm new to jQuery.  In fact, my jQuery
> > expertise goes back a full 24 hours.  The website I'm coding now did use
> > prototype and scriptaculous, but once I looked at the 1.2 version of
> jQuery,
> > I knew I'd found a better solution (for me, anyways).  So I spent the
> rest
> > of the day recoding the site for jQuery.  It was this post that
> convinced me
> > I needed to change
> .http://jquery.com/blog/2006/08/20/why-jquerys-philosophy-is-better/
> >
> > Anyways, if someone has some suggestions or solutions for the star
> rating,
> > that would be much appreciated!
> >
> > Thanks,
> > Derek
> >
> >
> >
> >  star_rating.js
> > 7KDownload
>
>


[jQuery] Re: Star rating plugin for 1.2?

2007-09-20 Thread Karl Swedberg
I don't know when Ritesh is planning to update is plugin, but my  
modification of it that allows for half-star ratings is working with  
1.2.1:


http://www.learningjquery.com/2007/05/half-star-rating-plugin

--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Sep 20, 2007, at 2:18 PM, NccWarp9 wrote:



is there any information when Ritesh Agrawal star rating plugin will
be fixed for 1.2.1 ?>

On Sep 13, 12:32 am, "Derek Gathright" <[EMAIL PROTECTED]> wrote:

Karl, thanks for the help.

I've added those corrections along with a few others and I think  
it's 99%

there.  The only issue left is that I can't get the click methods to
register.  I'll continue playing around with it, but if anyone  
else has an
idea as to what the issue may be, I've attached the js file.  The  
additional
HTML & CSS can be found here.  http://sandbox.wilstuckey.com/ 
jquery-ratings/


-- Forwarded message --
From: Karl Swedberg <[EMAIL PROTECTED]>
Date: Sep 12, 2007 11:46 AM
Subject: [jQuery] Re: Star rating plugin for 1.2?
To: jquery-en@googlegroups.com

The .lt() and .eq() -- and .gt() -- methods were removed from 1.2.
If you'd like to try to patch will stuckey's version, you could  
try the

following:

line 97:
.slice(0,index).addClass('hover').end();
line 105:
$stars.slice(0,averageIndex).addClass('on').end();
line 108:

 $stars.slice(averageIndex,averageIndex+1).addClass('on').children 
('a').css('width',

percent + "%").end().end();

I don't know if there are other issues, but these are the most  
obvious --

and the easiest to change.

Hope that helps.

--Karl
_
Karl Swedbergwww.englishrules.comwww.learningjquery.com

On Sep 12, 2007, at 12:19 PM, Derek Gathright wrote:

I've been scouring the internet looking for a star rating plugin  
for the
latest version of jQuery, but have been unsuccessful.  I really  
like these,

but they appear to be incompatible with any recent versions.

http://sandbox.wilstuckey.com/jquery-ratings/http:// 
php.scripts.psu.edu/rja171/widgets/rating.php


I attempted to update the wilstucky.com one for jQuery 1.2, but  
I'm fairly

new to jQuery and wasn't able to figure out the issues.  I got past
the $form.title()
errors, but I just couldn't figure out why the hell $star.lt() &  
$star.eq()
weren't functions.  Maybe someone with a bit more experience would  
be more

successful than me?

On a side note, as I mentioned, I'm new to jQuery.  In fact, my  
jQuery
expertise goes back a full 24 hours.  The website I'm coding now  
did use
prototype and scriptaculous, but once I looked at the 1.2 version  
of jQuery,
I knew I'd found a better solution (for me, anyways).  So I spent  
the rest
of the day recoding the site for jQuery.  It was this post that  
convinced me
I needed to change.http://jquery.com/blog/2006/08/20/why-jquerys- 
philosophy-is-better/


Anyways, if someone has some suggestions or solutions for the star  
rating,

that would be much appreciated!

Thanks,
Derek



 star_rating.js
7KDownload






[jQuery] Re: Star rating plugin for 1.2?

2007-09-20 Thread NccWarp9

is there any information when Ritesh Agrawal star rating plugin will
be fixed for 1.2.1 ?>

On Sep 13, 12:32 am, "Derek Gathright" <[EMAIL PROTECTED]> wrote:
> Karl, thanks for the help.
>
> I've added those corrections along with a few others and I think it's 99%
> there.  The only issue left is that I can't get the click methods to
> register.  I'll continue playing around with it, but if anyone else has an
> idea as to what the issue may be, I've attached the js file.  The additional
> HTML & CSS can be found here.  http://sandbox.wilstuckey.com/jquery-ratings/
>
> -- Forwarded message --
> From: Karl Swedberg <[EMAIL PROTECTED]>
> Date: Sep 12, 2007 11:46 AM
> Subject: [jQuery] Re: Star rating plugin for 1.2?
> To: jquery-en@googlegroups.com
>
> The .lt() and .eq() -- and .gt() -- methods were removed from 1.2.
> If you'd like to try to patch will stuckey's version, you could try the
> following:
>
> line 97:
> .slice(0,index).addClass('hover').end();
> line 105:
> $stars.slice(0,averageIndex).addClass('on').end();
> line 108:
>
>  
> $stars.slice(averageIndex,averageIndex+1).addClass('on').children('a').css('width',
> percent + "%").end().end();
>
> I don't know if there are other issues, but these are the most obvious --
> and the easiest to change.
>
> Hope that helps.
>
> --Karl
> _
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Sep 12, 2007, at 12:19 PM, Derek Gathright wrote:
>
> I've been scouring the internet looking for a star rating plugin for the
> latest version of jQuery, but have been unsuccessful.  I really like these,
> but they appear to be incompatible with any recent versions.
>
> http://sandbox.wilstuckey.com/jquery-ratings/http://php.scripts.psu.edu/rja171/widgets/rating.php
>
> I attempted to update the wilstucky.com one for jQuery 1.2, but I'm fairly
> new to jQuery and wasn't able to figure out the issues.  I got past
> the $form.title()
> errors, but I just couldn't figure out why the hell $star.lt() & $star.eq()
> weren't functions.  Maybe someone with a bit more experience would be more
> successful than me?
>
> On a side note, as I mentioned, I'm new to jQuery.  In fact, my jQuery
> expertise goes back a full 24 hours.  The website I'm coding now did use
> prototype and scriptaculous, but once I looked at the 1.2 version of jQuery,
> I knew I'd found a better solution (for me, anyways).  So I spent the rest
> of the day recoding the site for jQuery.  It was this post that convinced me
> I needed to 
> change.http://jquery.com/blog/2006/08/20/why-jquerys-philosophy-is-better/
>
> Anyways, if someone has some suggestions or solutions for the star rating,
> that would be much appreciated!
>
> Thanks,
> Derek
>
>
>
>  star_rating.js
> 7KDownload



[jQuery] Re: Star rating plugin for 1.2?

2007-09-12 Thread Derek Gathright
Karl, thanks for the help.

I've added those corrections along with a few others and I think it's 99%
there.  The only issue left is that I can't get the click methods to
register.  I'll continue playing around with it, but if anyone else has an
idea as to what the issue may be, I've attached the js file.  The additional
HTML & CSS can be found here.  http://sandbox.wilstuckey.com/jquery-ratings/

-- Forwarded message --
From: Karl Swedberg <[EMAIL PROTECTED]>
Date: Sep 12, 2007 11:46 AM
Subject: [jQuery] Re: Star rating plugin for 1.2?
To: jquery-en@googlegroups.com

The .lt() and .eq() -- and .gt() -- methods were removed from 1.2.
If you'd like to try to patch will stuckey's version, you could try the
following:

line 97:
.slice(0,index).addClass('hover').end();
line 105:
$stars.slice(0,averageIndex).addClass('on').end();
line 108:

 
$stars.slice(averageIndex,averageIndex+1).addClass('on').children('a').css('width',
percent + "%").end().end();

I don't know if there are other issues, but these are the most obvious --
and the easiest to change.

Hope that helps.

--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Sep 12, 2007, at 12:19 PM, Derek Gathright wrote:

I've been scouring the internet looking for a star rating plugin for the
latest version of jQuery, but have been unsuccessful.  I really like these,
but they appear to be incompatible with any recent versions.

http://sandbox.wilstuckey.com/jquery-ratings/
http://php.scripts.psu.edu/rja171/widgets/rating.php

I attempted to update the wilstucky.com one for jQuery 1.2, but I'm fairly
new to jQuery and wasn't able to figure out the issues.  I got past
the $form.title()
errors, but I just couldn't figure out why the hell $star.lt() & $star.eq()
weren't functions.  Maybe someone with a bit more experience would be more
successful than me?

On a side note, as I mentioned, I'm new to jQuery.  In fact, my jQuery
expertise goes back a full 24 hours.  The website I'm coding now did use
prototype and scriptaculous, but once I looked at the 1.2 version of jQuery,
I knew I'd found a better solution (for me, anyways).  So I spent the rest
of the day recoding the site for jQuery.  It was this post that convinced me
I needed to change.
http://jquery.com/blog/2006/08/20/why-jquerys-philosophy-is-better/

Anyways, if someone has some suggestions or solutions for the star rating,
that would be much appreciated!

Thanks,
Derek


star_rating.js
Description: JavaScript source


[jQuery] Re: Star rating plugin for 1.2?

2007-09-12 Thread Karl Swedberg

The .lt() and .eq() -- and .gt() -- methods were removed from 1.2.

If you'd like to try to patch will stuckey's version, you could try  
the following:


line 97:
.slice(0,index).addClass('hover').end();
line 105:
$stars.slice(0,averageIndex).addClass('on').end();
line 108:
$stars.slice(averageIndex,averageIndex 
+1).addClass('on').children('a').css('width', percent + "%").end().end 
();


I don't know if there are other issues, but these are the most  
obvious -- and the easiest to change.


Hope that helps.

--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Sep 12, 2007, at 12:19 PM, Derek Gathright wrote:

I've been scouring the internet looking for a star rating plugin  
for the latest version of jQuery, but have been unsuccessful.  I  
really like these, but they appear to be incompatible with any  
recent versions.


http://sandbox.wilstuckey.com/jquery-ratings/
http://php.scripts.psu.edu/rja171/widgets/rating.php

I attempted to update the wilstucky.com one for jQuery 1.2, but I'm  
fairly new to jQuery and wasn't able to figure out the issues.  I  
got past the $form.title() errors, but I just couldn't figure out  
why the hell $star.lt() & $star.eq() weren't functions.  Maybe  
someone with a bit more experience would be more successful than me?


On a side note, as I mentioned, I'm new to jQuery.  In fact, my  
jQuery expertise goes back a full 24 hours.  The website I'm coding  
now did use prototype and scriptaculous, but once I looked at the  
1.2 version of jQuery, I knew I'd found a better solution (for me,  
anyways).  So I spent the rest of the day recoding the site for  
jQuery.  It was this post that convinced me I needed to change.   
http://jquery.com/blog/2006/08/20/why-jquerys-philosophy-is-better/


Anyways, if someone has some suggestions or solutions for the star  
rating, that would be much appreciated!


Thanks,
Derek