does jQuery UI have a way to achieve this Flash button's functionality?

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-05-29T13:21:52Z Indexed on 2010/05/29 13:22 UTC
Read the original article Hit count: 147

Filed under:

There's a button in Flash which looks something like a jQuery SplitButton. The Flash button consists of two parts, the text and the icon.

  [text portion] [v]

I have used it to display string search operators for the user: equals, starts with, ends with, contains. In Flash, when the icon is clicked, the text-area drops down a list of choices; it would look like this:

  [            ] [v]
     equals
     starts with
     ends with
     contains

And when the user makes a choice from the list, the choice is displayed in the text area of the button and the list rolls up.

   [ starts with ] [v]

I'm trying to convert my Flash app and am hoping to come up with a counterpart to this functionality. For space considerations on the form, a radio-button-group would be less than ideal. That's the major virtue of this Flash button -- it's very economical in its use of screen real-estate.

Thanks for any answers/suggestions.

© Stack Overflow or respective owner

Related posts about jquery-ui-button