Welcome to Yahoo User Interface 2.x Cookbook, the RAW edition. A RAW (Read As we
Write) book contains all the material written for the book so far, but available for you right
now, before it’s finished. As the author writes more, you will be invited to download the
new material and continue reading, and learning. Chapters in a RAW book are not “work in
progress”, they are drafts ready for you to read, use, and learn from. They are not the finished
article of course—they are RAW!
The Yahoo! User Interface (YUI) Library is a set of utilities and controls, written in JavaScript,
for building richly interactive web applications using techniques such as DOM scripting,
DHTML, and AJAX. Although you can create stylish Internet applications by modifying its
default components, even advanced users find it challenging to create impressive feature-rich
Internet applications using YUI.
This book will help you learn how to use YUI 2.x to build richer, more interactive web
applications that impress clients and wow your friends. It starts by explaining the core
features of YUI 2.x, the utilities that the rest of the library depends on and that will make your
life easier. It then explains how to build UI components and make AJAX requests using the
YUI framework. Each recipe will cover the most common ways to use a component, how to
configure it, and then explain any other features that may be available. We wrap things up by
looking at some of the recent BETA components and explain how to use them, and how they
may be useful on your web application.