Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-09 Thread Roberto Ortelli
http://sandbox.wilstuckey.com/jquery-ratings/
Not working on Safari 1.3 (blank page, no error displayed)

2006/11/9, Brandon Aaron [EMAIL PROTECTED]:
 On 11/8/06, Wil Stuckey [EMAIL PROTECTED] wrote:
   Ok, I implemented the IE6 background flicker fix. Source has been updated.

 If it is in the plugin source, I wonder if it is a good idea to
 include that hack in the plugin.

 --
 Brandon Aaron

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



-- 
Roberto Ortelli
http://weblogger.ch

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


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-09 Thread Matthew Delmarter








Hi Will,



Great plugin! 



Just wondered if you could describe your
solution to the IE6 flicker? Is it just a matter of caching images first or
something? I have this issue I something I am building and it is very frustrating.



Thanks for your time







Regards,

Matthew















From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wil Stuckey
Sent: Thursday, 9 November 2006
1:46 p.m.
To: jQuery
 Discussion.
Subject: Re: [jQuery] New jQuery
Plugin - Star Rating





On 11/8/06, Andy Matthews
[EMAIL PROTECTED] wrote:









Rockin!













On 11/8/06, Andy
Matthews [EMAIL PROTECTED]
wrote: 





1) When I mouse over a star, I always get
a brief flicker (andthe hourglass cursor appears briely as well).








Hmmm, that might be related to the IE 6 Background flicker bug. I'll see if i
can't dig up the fix to that.











Ok, I implemented the IE6
background flicker fix. Source has been updated. 

Enjoy!

-Wil








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


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-09 Thread Sam Collett
On 09/11/06, Matthew Delmarter [EMAIL PROTECTED] wrote:




 Hi Will,



 Great plugin!



 Just wondered if you could describe your solution to the IE6 flicker? Is it
 just a matter of caching images first or something? I have this issue I
 something I am building and it is very frustrating.



 Thanks for your timeā€¦





 Regards,

 Matthew

Just add this in the appropriate place:

if ($.browser.msie == true) {
document.execCommand('BackgroundImageCache', false, true);
}

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


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-09 Thread Klaus Hartl
Andy Matthews schrieb:
 Rockin!

Yeah! Did I already say I really like it! Thanks Wil!


-- Klaus

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


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-08 Thread zaadjis

for the purists: there is a css only solution for this using absolute
positioning. you can see a good example at http://www.ceeses.com


Wil Stuckey wrote:
 
 http://sandbox.wilstuckey.com/jquery-ratings/
 

-- 
View this message in context: 
http://www.nabble.com/New-jQuery-Plugin---Star-Rating-tf2592161.html#a7234165
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-08 Thread Alex Cook








Doesnt work for me in FF2 WinXP











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marshall Salinger
Sent: Tuesday, November 07, 2006
3:59 PM
To: 'jQuery
 Discussion.'
Subject: Re: [jQuery] New jQuery
Plugin - Star Rating





You rock Wil! Thanks for the great
plug-in!



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Wil Stuckey
Sent: Tuesday, November 07, 2006
3:02 PM
To: jQuery
 Discussion.
Subject: [jQuery] New jQuery
Plugin - Star Rating



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
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-08 Thread Mike Alsup
 http://sandbox.wilstuckey.com/jquery-ratings/

Great stuff, Will.

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


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-08 Thread Wil Stuckey
On 11/8/06, Alex Cook [EMAIL PROTECTED] wrote:















Doesn't work for me in FF2 WinXPInteresting are you getting a error message in the _javascript_ console? I've tested FF 
1.5  2.0 IE 6  7 WinXP-Wil
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-08 Thread Alex Cook








Ahhhs, was my bad, during testing Id
turned off some image loading and spaced when I looked at your example. Now I
can chime in with the rest and add my praise to the mix. Good work.



-ALEX











From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wil Stuckey
Sent: Wednesday, November 08, 2006
10:52 AM
To: jQuery Discussion.
Subject: Re: [jQuery] New jQuery
Plugin - Star Rating







On 11/8/06, Alex
Cook [EMAIL PROTECTED]
wrote:





Doesn't work for me in FF2 WinXP








Interesting are you getting a error message in the _javascript_ console? I've
tested FF 1.5  2.0 IE 6  7 WinXP

-Wil






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


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-08 Thread Andy Matthews



Rockin!

!//--andy matthewsweb 
developercertified advanced coldfusion programmerICGLink, 
Inc.[EMAIL PROTECTED]615.370.1530 
x737--//- 

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Wil 
  StuckeySent: Wednesday, November 08, 2006 1:40 PMTo: 
  jQuery Discussion.Subject: Re: [jQuery] New jQuery Plugin - Star 
  Rating
  On 11/8/06, Andy 
  Matthews [EMAIL PROTECTED] 
  wrote:
  

1) When I mouse over a 
star, I always get a brief flicker (andthe hourglass cursor appears briely 
as well).
  Hmmm, that might be related to the IE 6 Background flicker bug. I'll 
  see if i can't dig up the fix to that.
  

2) Does this submit via 
AJAX or do you have to submit the form?
Yes now it submits via 
  HTTP POST to whatever the action of the form is. This is done silently in the 
  background via AJAX. -Wil 
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-08 Thread Wil Stuckey
On 11/8/06, Andy Matthews [EMAIL PROTECTED] wrote:





Rockin!
On 11/8/06, Andy 
  Matthews [EMAIL PROTECTED] 
  wrote:
  

1) When I mouse over a 
star, I always get a brief flicker (andthe hourglass cursor appears briely 
as well).
  Hmmm, that might be related to the IE 6 Background flicker bug. I'll 
  see if i can't dig up the fix to that.
  Ok, I implemented the IE6 background flicker fix. Source has been updated. Enjoy!-Wil
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-08 Thread Brandon Aaron
On 11/8/06, Wil Stuckey [EMAIL PROTECTED] wrote:
  Ok, I implemented the IE6 background flicker fix. Source has been updated.

If it is in the plugin source, I wonder if it is a good idea to
include that hack in the plugin.

--
Brandon Aaron

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


[jQuery] New jQuery Plugin - Star Rating

2006-11-07 Thread Wil Stuckey
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
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-07 Thread Rey Bango
Damn Wil! That is great. Exactly what I was looking for!

Rey...

Wil Stuckey 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
 discuss@jquery.com
 http://jquery.com/discuss/

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


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-07 Thread Blair McKenzie
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.
BlairOn 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 listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-07 Thread Rey Bango
Works great in IE7!

Wil Stuckey 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
 discuss@jquery.com
 http://jquery.com/discuss/

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


Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-07 Thread Marshall Salinger








You rock Wil!
Thanks for the great plug-in!



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Wil Stuckey
Sent: Tuesday, November 07, 2006
3:02 PM
To: jQuery Discussion.
Subject: [jQuery] New jQuery
Plugin - Star Rating



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
discuss@jquery.com
http://jquery.com/discuss/