0

I want to use what I think is called the "pill" button that can be seen here: http://jqueryui.com/themeroller/ (the "Choice 1 | Choice 2 | Choice 3" widget)

Here's a screen shot:

enter image description here

What html and/or css and/or jquery is required to achieve that look? I want to be able to highlight 0..all of the buttons (based on which ones are applicable at the time/in the current state).

icktoofay
  • 126,289
  • 21
  • 250
  • 231
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862

1 Answers1

1

Read the information about "buttonset" here. In short, you create a container with several radio buttons in it, and apply buttonset to the container, and you will get a radio control that's styled as jQuery UI buttons.

hobbs
  • 223,387
  • 19
  • 210
  • 288
  • Oh, they're radio buttons; that's not going to work, then. I need more than one to potentially be enabled. IOW, they are options, of which 0..all can be available; I want to indicate their availableness by appearance, but not have only one be the "choice." I guess their choice of wording, using "choice" should have been a tipoff. – B. Clay Shannon-B. Crow Raven Jul 01 '13 at 01:04
  • 1
    @ClayShannon It probably works for checkboxes too. UPDATE: [Ta-da!](http://codepen.io/millimoose/pen/xweJu) – millimoose Jul 01 '13 at 01:08