You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ballist1c <le...@msn.com> on 2008/03/13 00:00:42 UTC
Customising Radio Buttons with JS and CSS
Hey guys,
I got a funky idea for the UI.
I have a form that consists of set static radio choices and I am looking to
add a bit of zing with it.
Rather than having the radio button with text, i want to jazz it up with
having a 100x100px tile with an image on it representing each of the radio
choices. The functionality i want to capture is only one option can be
selected at any one time, so clicking on another tile will de-select what is
currently selected and select the new tile.
I am a bit stuck with this one, I am attempting to re-write the radio choice
object but im not having much luck with that so far.
--
View this message in context: http://www.nabble.com/Customising-Radio-Buttons-with-JS-and-CSS-tp16015072p16015072.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Customising Radio Buttons with JS and CSS
Posted by richardwilko <ri...@gmail.com>.
Instead of using RadioChoice use a RadioGroup, i think there are examples
here: http://wicketstuff.org/wicket13/forminput/
This allows you to customise the ui of your radio's much more than a
RadioGroup does and should aid you in your jazziness
Richard
Ballist1c wrote:
>
> Hey guys,
>
> I got a funky idea for the UI.
>
> I have a form that consists of set static radio choices and I am looking
> to add a bit of zing with it.
>
> Rather than having the radio button with text, i want to jazz it up with
> having a 100x100px tile with an image on it representing each of the radio
> choices. The functionality i want to capture is only one option can be
> selected at any one time, so clicking on another tile will de-select what
> is currently selected and select the new tile.
>
> I am a bit stuck with this one, I am attempting to re-write the radio
> choice object but im not having much luck with that so far.
>
--
View this message in context: http://www.nabble.com/Customising-Radio-Buttons-with-JS-and-CSS-tp16015072p16024767.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org