[development] create a star rater using css

Jeff Eaton jeff at viapositiva.net
Fri Jan 13 17:31:00 UTC 2006

> -----Original Message-----
> From: Bèr Kessels [mailto:ber at webschuur.com] 
> Sent: Friday, January 13, 2006 11:27 AM
> To: development at drupal.org
> Subject: Re: [development] create a star rater using css
> Here is how people should create such nifty widgets. (not 
> saying that that did 
> not happen in the examples!)
> * Make a normal form based rating. Most probably with a 
> dropdown and a submit 
> button.
> * Add some CSS to make it look nicer.
> * Overlay some JS to alter the DOM and/or the layout (only 
> for those clients 
> that are *known* to support it).
> * Overlay some AJAX to make it snappier.


I agree wholeheartedly regarding the 'right' way to do this. After
reading your post I'm actually looking at rewriting the theme function
to support this 'right' way of doing things. I know for a fact that it
simply does *nothing* when CSS is turned off. ;)


More information about the development mailing list