Free Sample
+ Collection

jQuery UI 1.7: The User Interface Library for jQuery

Progressing
Dan Wellman

Build highly interactive web applications with ready-to-use widgets from the jQuery User Interface library
$26.99
$44.99
RRP $26.99
RRP $44.99
eBook
Print + eBook

Want this title & more?

$21.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781847199720
Paperback392 pages

About This Book

[ PACKT CLASSIC ]

New jQuery Book Released

jQuery Tools UI Library will show you how to add useful functionality to your website, using the compact but powerful jQuery Tools library.Get inspiration for developing your own ideas with the book.

  Learn More   Download a free chapter  

  • Organize your interfaces with reusable widgets: accordions, date pickers, dialogs, sliders, tabs, and more
  • Enhance the interactivity of your pages by making elements drag-and-droppable, sortable, selectable, and resizable
  • Packed with examples and clear explanations of how to easily design elegant and powerful front-end interfaces for your web applications
  • Revised and targeted at jQuery UI 1.7

Who This Book Is For

This book is for front-end designers and developers who need to quickly learn how to use the jQuery UI User Interface Library. To get the most out of this book you should have a good working knowledge of HTML, CSS, and JavaScript, and will need to be comfortable using jQuery, the underlying foundation of jQuery UI.

Table of Contents

Chapter 1: Introducing jQuery UI
Downloading the library
Setting up a development environment
The structure of the library
ThemeRoller
Component categories
Browser support
Book examples
Library licensing
API introduction
Summary
Chapter 2: The CSS Framework
The files that make up the framework
Using the framework classes
Switching themes quickly and easily
Overriding the theme
Summary
Chapter 3: Tabs
A basic tab implementation
Tab CSS framework classes
Applying a custom theme to the tabs
Configurable options
Selecting a tab
Tab events
Using tab methods
AJAX tabs
Displaying data obtained via JSONP
Summary
Chapter 4: The Accordion Widget
Accordion's structure
Styling the accordion
Configuring an accordion
Accordion events
Accordion navigation
Accordion methods
Accordion interoperability
A del.icio.us accordion
Summary
Chapter 5: The Dialog
A basic dialog
Dialog options
Dialog's event model
Controlling a dialog programmatically
Getting data from the dialog
Dialog interoperability
A dynamic image-based dialog
Summary
Chapter 6: Slider
Implementing a slider
Custom styling
Configurable options
Using slider's event API
Slider methods
Future uses
A color slider
Summary
Chapter 7: Datepicker
The default datepicker
Configurable options of the picker
Utility methods
Date picking methods
An AJAX datepicker
Summary
Chapter 8: Progressbar
The default progressbar implementation
Using progressbar's configuration option
Progressbar's event API
Progressbar methods
User initiated progress
Rich uploads with progressbar
Summary
Chapter 9: Drag and Drop
The deal with drag and droppables
Draggables
Configuring draggable options
Draggable event callbacks
Using draggable's methods
Droppables
Configuring droppables
Droppable event callbacks
Droppable methods
A drag and drop game
Summary
Chapter 10: Resizing
A basic resizable
Resizable options
Resizable callbacks
Resizable methods
Resizable tabs
Summary
Chapter 11: Selecting
Basic implementation
Selectee class names
Configurable options of the selectable component
Selectable callbacks
Selectable methods
A selectable image viewer
Summary
Chapter 12: Sorting
The default implementation
Configuring sortable options
Reacting to sortable events
Connected callbacks
Sortable methods
Widget compatibility
Sortable page widgets
Summary
Chapter 13: UI Effects
The core effects file
Highlighting specified elements
Bouncing
Shaking an element
Transferring an element's outline
Element scaling
Element explosion
The puff effect
The pulsate effect
Dropping elements onto the page
Sliding elements open or closed
The window-blind effect
Clipping elements
Folding elements
Summary

What You Will Learn

  • How the brand-new CSS framework styles each of the library components
  • Organizing different sections of related content as tabs and accordions to save space on your page while maximizing its content
  • Displaying messages, images, and interactive content like forms using the dialog widget
  • Using sliders for volume and color control of your applications by dynamically scrolling left and right, displaying different ranges
  • Allowing your site visitors to select dates from the calendar using the date picker widget
  • Adding an attractive and effective deterministic progress bar to give visitors essential feedback on how much longer a process has left to complete
  • Providing a drag-and-drop mechanism to let users directly rearrange elements around the page
  • Making a range of elements of a group selectable and taking collective actions on them
  • Creating a page with content boxes that can be sorted into various positions to suit the visitor's personal preference
  • Adding flair to your actions with animation effects

In Detail

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.

Authors

Read More