2 replies [Last post]
adrianmak's picture
Offline
Joined: 05/28/2008
Juice: 312
Was this information Helpful?

Like this website
http://www.shirtcity.de/design/winter-weihnachten/snowballs-t-shirt-3872...

The color picker of a t-shirt implement on the website provide much more user accessibility than just a drop-down list or select box.

Is it possible to styling like this ?

stephthegeek's picture
Offline
Theminator
Joined: 10/20/2007
Juice: 575
Re: possible to theming/styling attribute like this ?

Last I saw it was a little buggy but I think you're looking for http://drupal.org/project/uc_option_image

Gorgeous original Drupal themes (and Ubercart themes!) ~ Psst: more Ubercart themes on our new site

jrowny's picture
Offline
Joined: 01/08/2009
Juice: 297
Re: Re: possible to theming/styling attribute like this ?

In my opinion,the best way to do it is with a CSS sprite. CSS Sprites are faster and more efficient. Then you can just use CSS to style the selector. The "label" of the radio button becomes the CSS sprite image. Your stylesheet then has the sprites coded for each attribute. It will be lightning fast and require no extra modules.

Check out this tutorial on CSS sprites: http://css-tricks.com/css-sprites/