Book Image

jQuery UI 1.7: The User Interface Library for jQuery

By : jQuery Foundation, Dan Wellman
Book Image

jQuery UI 1.7: The User Interface Library for jQuery

By: jQuery Foundation, Dan Wellman

Overview of this book

Modern web application user interface design requires rapid development and proven results. jQuery UI, a trusted suite of official plug-ins for the jQuery JavaScript library, gives you a solid platform on which to build rich and engaging interfaces with maximum compatibility and stability, and minimum time and effort. jQuery UI has a series of ready-made, great-looking user interface widgets and a comprehensive set of core interaction helpers designed to be implemented in a consistent and developer-friendly way. With all this, the amount of code that you need to write personally to take a project from conception to completion is drastically reduced. Specially revised for version 1.7 of jQuery UI, this book has been written to maximize your experience with the library by breaking down each component and walking you through examples that progressively build upon your knowledge, taking you from beginner to advanced usage in a series of easy-to-follow steps. In this book, you'll learn how each component can be initialized in a basic default implementation and then see how easy it is to customize its appearance and configure its behavior to tailor it to the requirements of your application. You'll look at the configuration options and the methods exposed by each component's API to see how these can be used to bring out the best of the library. Events play a key role in any modern web application if it is to meet the expected minimum requirements of interactivity and responsiveness, and each chapter will show you the custom events fired by the component covered and how these events can be intercepted and acted upon.
Table of Contents (19 chapters)
jQuery UI 1.7
Credits
About the Author
About the Reviewers
Preface
Index

Component categories


There are two types of components found within the jQuery UI library—low-level interaction helpers that are designed to work primarily with mouse events, and there are the widgets that produce visible objects on the page, which are designed to perform a specific function.

The interaction helpers category includes the following components:

  • Draggable

  • Droppable

  • Resizable

  • Selectable

  • Sortable

The higher-level widgets included (at the time of writing) are as follows:

  • Accordion

  • Datepicker

  • Dialog

  • Progressbar

  • Slider

  • Tabs

The ui.core.js file that is required by all other library components, comes under neither category, but could nevertheless be seen as the core component of the library. This file sets up the construct that all widgets use to function and adds some core functionality which is shared by all of the library components. This file isn't designed to be used standalone, and exposes no functionality that can be used outside of another component.

Apart from these components, there is also a series of UI effects that produce different animations or transitions on targeted elements on the page. These are excellent for adding flair and style to our pages, in addition to the strong functionality of the components. We'll be looking at these effects in the final chapter of the book.

I'd like to add here that the jQuery UI library is currently undergoing a rapid period of expansion and development. It is also constantly growing and evolving with bug fixes and feature enhancements continually being added. It would be impossible to keep entirely up-to-date with this aggressive expansion and cover components that are literally about to be released.

The great thing about jQuery UI's simplified API is that once you have learned to use all of the existing components (as this book will show you), you'll be able to pick up any new components very quickly. As this book is being written, there are already a number of new components nearing release, with many more in the pipeline and all of these components will automatically be ThemeRoller-ready.