[jQuery] Re: Is there a 'dropdown button' plugin?

2009-08-29 Thread donb

I ended up combining the standard ui button with a textbox and a
'search' icon a all in a row, styling it so as to emulate the
Firefox appearance (more or less)

http://www.gotodon.net/dropbutton/selectbutton.jpg

The ui button made for a nicer appearance, as I needed to style other
dropdown lists anyway

On Aug 28, 11:50 pm, Jack Killpatrick j...@ihwy.com wrote:
 maybe this?

 http://www.givainc.com/labs/linkselect_jquery_plugin.htm

 - Jack

 donb wrote:
  That's what I'd call it, anyway.  This would be a captioned button
  with a small arrow you'd click on.  That would drop down a list of
  button captions, changing the caption of the button when it collapses.

  The upshot is, the button would have variable onclick functionality,
  dependent upon the current caption of the button.  I suppose it would
  merely result in a different value of the button's 'name=' attribute
  when the container form is submitted.

  My goal is to pair something like that with a textbox for searching
  one of several different fields (the button caption would be 'name',
  'phone', 'email' for example, and clicking the button would search for
  the textbox string in whichever field the button says.

  I'm pretty sure how I'd make one but if it's already been done, why
  reinvent.  Elsewise, I'm diving in.

  thanks,

  Don


[jQuery] Re: Is there a 'dropdown button' plugin?

2009-08-28 Thread Richard D. Worth
On Thu, Aug 27, 2009 at 10:00 PM, donb falconwatc...@comcast.net wrote:


 Partially.  I started cobbling together something that LOOKs like what
 I want, to play with my idea:

 http://www.gotodon.net/dropbutton/

 I want it to act like a submit button when the main part is clicked,
 but produce a dropdown when the small arrow is clicked.  At least I
 think I do.  Having looked at it now, I'm not so sure it would be
 clear to any random user what they are supposed to do.


That's a valid concern. Maybe do like the firefox search box with the
dropdown on the left, which is only a drop-down, and the search icon on the
right, which is only a search button.

- Richard




 Don

 On Aug 27, 7:28 pm, Richard D. Worth rdwo...@gmail.com wrote:
  I think this may be the kind of thing you're looking for:
 http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessi...
 
  - Richard
 
  On Thu, Aug 27, 2009 at 4:00 PM, donb falconwatc...@comcast.net wrote:
 
   That's what I'd call it, anyway.  This would be a captioned button
   with a small arrow you'd click on.  That would drop down a list of
   button captions, changing the caption of the button when it collapses.
 
   The upshot is, the button would have variable onclick functionality,
   dependent upon the current caption of the button.  I suppose it would
   merely result in a different value of the button's 'name=' attribute
   when the container form is submitted.
 
   My goal is to pair something like that with a textbox for searching
   one of several different fields (the button caption would be 'name',
   'phone', 'email' for example, and clicking the button would search for
   the textbox string in whichever field the button says.
 
   I'm pretty sure how I'd make one but if it's already been done, why
   reinvent.  Elsewise, I'm diving in.
 
   thanks,
 
   Don



[jQuery] Re: Is there a 'dropdown button' plugin?

2009-08-28 Thread donb

Yeah, I think that works a lot better:

http://www.gotodon.net/dropbutton/


On Aug 28, 5:24 am, Richard D. Worth rdwo...@gmail.com wrote:
 On Thu, Aug 27, 2009 at 10:00 PM, donb falconwatc...@comcast.net wrote:

  Partially.  I started cobbling together something that LOOKs like what
  I want, to play with my idea:

 http://www.gotodon.net/dropbutton/

  I want it to act like a submit button when the main part is clicked,
  but produce a dropdown when the small arrow is clicked.  At least I
  think I do.  Having looked at it now, I'm not so sure it would be
  clear to any random user what they are supposed to do.

 That's a valid concern. Maybe do like the firefox search box with the
 dropdown on the left, which is only a drop-down, and the search icon on the
 right, which is only a search button.

 - Richard



  Don

  On Aug 27, 7:28 pm, Richard D. Worth rdwo...@gmail.com wrote:
   I think this may be the kind of thing you're looking for:
 http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessi...

   - Richard

   On Thu, Aug 27, 2009 at 4:00 PM, donb falconwatc...@comcast.net wrote:

That's what I'd call it, anyway.  This would be a captioned button
with a small arrow you'd click on.  That would drop down a list of
button captions, changing the caption of the button when it collapses.

The upshot is, the button would have variable onclick functionality,
dependent upon the current caption of the button.  I suppose it would
merely result in a different value of the button's 'name=' attribute
when the container form is submitted.

My goal is to pair something like that with a textbox for searching
one of several different fields (the button caption would be 'name',
'phone', 'email' for example, and clicking the button would search for
the textbox string in whichever field the button says.

I'm pretty sure how I'd make one but if it's already been done, why
reinvent.  Elsewise, I'm diving in.

thanks,

Don


[jQuery] Re: Is there a 'dropdown button' plugin?

2009-08-28 Thread Richard D. Worth
Nice. You might post this to the jQuery UI list (
http://groups.google.com/group/jquery-ui ), or add a comment on the wiki
page here:
http://wiki.jqueryui.com/Selectmenu

I'm sure people would be interested in seeing this application.

- Richard

On Fri, Aug 28, 2009 at 9:34 AM, donb falconwatc...@comcast.net wrote:


 Yeah, I think that works a lot better:

 http://www.gotodon.net/dropbutton/


 On Aug 28, 5:24 am, Richard D. Worth rdwo...@gmail.com wrote:
  On Thu, Aug 27, 2009 at 10:00 PM, donb falconwatc...@comcast.net
 wrote:
 
   Partially.  I started cobbling together something that LOOKs like what
   I want, to play with my idea:
 
  http://www.gotodon.net/dropbutton/
 
   I want it to act like a submit button when the main part is clicked,
   but produce a dropdown when the small arrow is clicked.  At least I
   think I do.  Having looked at it now, I'm not so sure it would be
   clear to any random user what they are supposed to do.
 
  That's a valid concern. Maybe do like the firefox search box with the
  dropdown on the left, which is only a drop-down, and the search icon on
 the
  right, which is only a search button.
 
  - Richard
 
 
 
   Don
 
   On Aug 27, 7:28 pm, Richard D. Worth rdwo...@gmail.com wrote:
I think this may be the kind of thing you're looking for:
  http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessi.
 ..
 
- Richard
 
On Thu, Aug 27, 2009 at 4:00 PM, donb falconwatc...@comcast.net
 wrote:
 
 That's what I'd call it, anyway.  This would be a captioned button
 with a small arrow you'd click on.  That would drop down a list of
 button captions, changing the caption of the button when it
 collapses.
 
 The upshot is, the button would have variable onclick
 functionality,
 dependent upon the current caption of the button.  I suppose it
 would
 merely result in a different value of the button's 'name='
 attribute
 when the container form is submitted.
 
 My goal is to pair something like that with a textbox for searching
 one of several different fields (the button caption would be
 'name',
 'phone', 'email' for example, and clicking the button would search
 for
 the textbox string in whichever field the button says.
 
 I'm pretty sure how I'd make one but if it's already been done, why
 reinvent.  Elsewise, I'm diving in.
 
 thanks,
 
 Don



[jQuery] Re: Is there a 'dropdown button' plugin?

2009-08-28 Thread Jack Killpatrick


maybe this?

http://www.givainc.com/labs/linkselect_jquery_plugin.htm

- Jack

donb wrote:

That's what I'd call it, anyway.  This would be a captioned button
with a small arrow you'd click on.  That would drop down a list of
button captions, changing the caption of the button when it collapses.

The upshot is, the button would have variable onclick functionality,
dependent upon the current caption of the button.  I suppose it would
merely result in a different value of the button's 'name=' attribute
when the container form is submitted.

My goal is to pair something like that with a textbox for searching
one of several different fields (the button caption would be 'name',
'phone', 'email' for example, and clicking the button would search for
the textbox string in whichever field the button says.

I'm pretty sure how I'd make one but if it's already been done, why
reinvent.  Elsewise, I'm diving in.

thanks,

Don

  





[jQuery] Re: Is there a 'dropdown button' plugin?

2009-08-27 Thread Richard D. Worth
I think this may be the kind of thing you're looking for:
http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessible_plugin_for_styling_a_html_select/

- Richard

On Thu, Aug 27, 2009 at 4:00 PM, donb falconwatc...@comcast.net wrote:


 That's what I'd call it, anyway.  This would be a captioned button
 with a small arrow you'd click on.  That would drop down a list of
 button captions, changing the caption of the button when it collapses.

 The upshot is, the button would have variable onclick functionality,
 dependent upon the current caption of the button.  I suppose it would
 merely result in a different value of the button's 'name=' attribute
 when the container form is submitted.

 My goal is to pair something like that with a textbox for searching
 one of several different fields (the button caption would be 'name',
 'phone', 'email' for example, and clicking the button would search for
 the textbox string in whichever field the button says.

 I'm pretty sure how I'd make one but if it's already been done, why
 reinvent.  Elsewise, I'm diving in.

 thanks,

 Don


[jQuery] Re: Is there a 'dropdown button' plugin?

2009-08-27 Thread donb

Partially.  I started cobbling together something that LOOKs like what
I want, to play with my idea:

http://www.gotodon.net/dropbutton/

I want it to act like a submit button when the main part is clicked,
but produce a dropdown when the small arrow is clicked.  At least I
think I do.  Having looked at it now, I'm not so sure it would be
clear to any random user what they are supposed to do.

Don

On Aug 27, 7:28 pm, Richard D. Worth rdwo...@gmail.com wrote:
 I think this may be the kind of thing you're looking 
 for:http://www.filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessi...

 - Richard

 On Thu, Aug 27, 2009 at 4:00 PM, donb falconwatc...@comcast.net wrote:

  That's what I'd call it, anyway.  This would be a captioned button
  with a small arrow you'd click on.  That would drop down a list of
  button captions, changing the caption of the button when it collapses.

  The upshot is, the button would have variable onclick functionality,
  dependent upon the current caption of the button.  I suppose it would
  merely result in a different value of the button's 'name=' attribute
  when the container form is submitted.

  My goal is to pair something like that with a textbox for searching
  one of several different fields (the button caption would be 'name',
  'phone', 'email' for example, and clicking the button would search for
  the textbox string in whichever field the button says.

  I'm pretty sure how I'd make one but if it's already been done, why
  reinvent.  Elsewise, I'm diving in.

  thanks,

  Don