-
Book Overview & Buying
-
Table Of Contents
YUI 2.8: Learning the Library
In this chapter we are going to look at two very useful controls provided by the library: the Button and TreeView controls. Both provide the rich and engaging functionality expected of web-based interface controls, and both are highly configurable and customizable.
The standard buttons used in practically every web form ever created are an intrinsic part of HTML. These buttons are so ingrained in the average surfer's psyche that they are used without a moment's thought. But don't you ever want to do more than just push them? No? Well the good people at Yahoo! think that you should, and so they've created a new breed of button—the YUI Button Control.
The TreeView control allows us to easily create a variety of hierarchical tree structures in almost no time at all. These are traditionally something that you would expect to find in a desktop application (such as Windows Explorer) rather than a web application, but with the distinction between the desktop and the Web...
Change the font size
Change margin width
Change background colour