Tuesday, December 11, 2007

The Versatile Button Control

New UI controls in Yahoo! Developer Toolkit ...

"New YUI Button Control examples from engineer Todd Kloots.

... Menu or Overlay?

Both split buttons and menu buttons incorporate a menu that can be created using either an Overlay or Menu Control. Choose Menu if you want the Button to pop up a traditional menu or a canvas with the default Menu styling. Choose Overlay if you want the basics: a blank canvas with no default style or behaviors — a canvas that can contain any content or UI control. Overlay is also lighter in file size. In either case, you’ll have the flexibility of being able to create the menu using existing HTML or script alone, and both Overlay and Menu provide an <> shim to prevent <> elements from poking through your Button’s menu in IE 6.

Menu or Overlay?

Both split buttons and menu buttons incorporate a menu that can be created using either an Overlay or Menu Control. Choose Menu if you want the Button to pop up a traditional menu or a canvas with the default Menu styling. Choose Overlay if you want the basics: a blank canvas with no default style or behaviors — a canvas that can contain any content or UI control. Overlay is also lighter in file size. In either case, you’ll have the flexibility of being able to create the menu using existing HTML or script alone, and both Overlay and Menu provide an <> shim to prevent <> elements from poking through your Button’s menu in IE 6." (Continued via Yahoo! User Interface Blog) [Usability Resources]

Yahoo! Buttons - Usability, User Interface Design

Yahoo! Buttons

0 Comments:

Post a Comment

<< Home

<< Home
.