In this chapter you will learn various ways to include, load, and set up the Yahoo! User Interface (YUI) library. Once YUI is loaded we'll explore how to use it to detect various browsers and platforms, build namespaces, include CSS and JavaScript files, and manage object-oriented JavaScript. We will also see how to use the static functions for working with browser cookies and JSON data.
Throughout this book we will cover how to use YUI 2.x and most of its components. However, even after reading a chapter you may still have questions or you may be interested in learning about a component that is not explained in this book. The Yahoo! Developers Network (YDN) has a comprehensive set of websites where you can find answers or ask questions from experts.
The documentation for all components:
http://developer.yahoo.com/yui/2/
The location for YUI:
And a direct link to the YUI 2 forums: