YUI Library Examples: Button Control (beta)

Button Control (beta): Examples

The Button Control enables the creation of rich, graphical buttons that function like traditional HTML form buttons; the Button Control provides more-impactful and easier-to-use replacements for simple buttons, radio buttons, and checkboxes, and it can go beyond the HTML form-control functionality by providing an extensible platform for various split-button implementations (including menu buttons).

  • Push Buttons: This example explores various ways to create a Push Button.
  • Link Buttons: Link Buttons function like HTML anchor elements; this example shows you several ways to create Link Buttons.
  • Checkbox Buttons: This example demonstrates different ways to create a Button that functions like an HTML checkbox.
  • Radio Buttons: This example demonstrates different ways to create a Button that functions like an HTML radio button.
  • Submit Buttons: This example demonstrates different ways to create a Button that functions like an HTML submit button.
  • Reset Buttons: This example demonstrates different ways to create a Button that functions like an HTML reset button.
  • Menu Buttons: With the inclusion of the optional Menu Control, it is possible to create Buttons that incorporate a menu; this example shows you how.
  • Split Buttons: Split Buttons are a hybrid of Menu Buttons and standard buttons; this example shows you how to use the Button Control to create Split Buttons.

Button Control (beta):

Copyright © 2007 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings