Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    A radiogroup with very custom UI

    Hello,

    i'm trying to make a custom radiogroup. Basically green, yellow, red, but ONLY images, and when you select them you show that icon with a "selected" icon. (i have 6 png's in total)

    That is, i don't want the standard circle with a dot to indicate selection in the radiogroup, i want to get rid of them altogether. See the attached image.

    I can't figure out a way to do it, unless i make a wholly custom formitem with a canvas...will get messy!

    Iso, do you have any pointers, is there some smart way i could accomplish this that i haven't thought of?
    Attached Files

    #2
    I found a tutorial that does basically exactly what i'm after, with CSS and Javascript.

    My problem is getting this into smartgwt.

    http://blog.avtex.com/2012/07/06/turning-radio-buttons-into-pictures/

    Comment

    Working...
    X