Home Page Icon
Home Page
Table of Contents for
PART 4: Using jQuery UI
Close
PART 4: Using jQuery UI
by Adam Freeman
Pro jQuery
Title
Dedication
Contents at a Glance
Contents
About the Author
About the Technical Reviewer
Acknowledgments
PART 1: Getting Ready
CHAPTER 1: Putting jQuery in Context
Understanding jQuery UI and jQuery Mobile
Understanding jQuery Plugins
What Do I Need to Know?
What Is the Structure of This Book?
Are There Lots of Examples?
Where Can I Get the Example Code?
What Software Do I Need for This Book?
Image Attribution
Summary
CHAPTER 2: HTML Primer
Introducing a Basic HTML Document
Understanding the Anatomy of an HTML Element
Understanding Attributes
Understanding Element Content
Understanding Void Elements
Understanding the Document Structure
Understanding the Element Hierarchy
Understanding the Document Object Model
Summary
CHAPTER 3: CSS Primer
Getting Started with CSS
Setting an Inline Value
Defining an Embedded Style
Defining an External Style Sheet
Understanding CSS Selectors
Understanding Style Cascading
Understanding CSS Units
Using Shorthand Properties and Custom Values
Summary
CHAPTER 4: JavaScript Primer
Getting Ready to Use JavaScript
Using Statements
Defining and Using Functions
Using Variables and Types
Using JavaScript Operators
Working with Arrays
Handling Errors
Comparing undefined and null Values
Summary
PART 2: Working with jQuery
CHAPTER 5: jQuery Basics
Setting Up jQuery
A First jQuery Script
Understanding the jQuery $ Function
Waiting for the Document Object Model
Selecting Elements
Understanding the Selection Result
Modifying Multiple Elements and Chaining Method Calls
Handling Events
Summary
CHAPTER 6: Managing the Element Selection
Expanding the Selection
Narrowing the Selection
Mapping the Selection
Testing the Selection
Changing and Then Unwinding the Selection
Navigating the DOM
Summary
CHAPTER 7: Manipulating the DOM
Creating New Elements
Inserting Child and Descendant Elements
Inserting Parent and Ancestor Elements
Inserting Sibling Elements
Replacing Elements
Removing Elements
Summary
CHAPTER 8: Manipulating Elements
Working with Attributes and Properties
Working with Classes
Working with CSS
Working with Element Content
Working with Form Elements
Associating Data with Elements
Summary
CHAPTER 9: Working with Events
Handling Events
Performing Live Event Binding
Manually Invoking Event Handlers
Using the Event Shorthand Methods
Summary
CHAPTER 10: Using jQuery Effects
Using the Basic Effects
Using the Slide Effects
Using the Fade Effects
Creating Custom Effects
Creating and Managing the Effect Queue
Enabling and Disabling Effect Animations
Summary
CHAPTER 11: Refactoring the Example: Part I
Reviewing the Example Document
Adding Additional Flower Products
Adding the Carousel Buttons
Dealing with the Submit Button
Implementing the Carousel Event Handler Functions
Totaling the Product Selection
Disabling JavaScript
Summary
PART 3: Working with Data and Ajax
CHAPTER 12: Using Data Templates
Understanding the Problem That Templates Solve
Setting Up the jQuery Templates Library
A First Data Templates Example
Using the Template Variables
Using Nested Templates
Using Conditional Templates
Controlling Iteration Over Arrays
Disabling HTML Encoding
Manipulating Templates from Event Handler Functions
Summary
CHAPTER 13: Working with Forms
Preparing the Node.js Server
Recapping the Form Event Methods
Validating Form Values
Summary
CHAPTER 14: Using Ajax: Part I
Using the Ajax Shorthand Methods
Avoiding the Most Common Ajax Pitfall
Using the Type-Specific Convenience Methods
Using the Ajax Forms Plugin
Summary
CHAPTER 15: Using Ajax: Part II
Making a Simple Ajax Request with the Low-Level API
Understanding the jqXHR Object
Setting the Request URL
Making a POST Request
Handling Ajax Events
Using the Global Ajax Events
Configuring the Basic Settings for an Ajax Request
Using More Advanced Configuration Settings
Setting Up and Filtering Ajax Requests
Summary
CHAPTER 16: Refactoring the Example: Part II
Reviewing the Refactored Example
Updating the Node.js Script
Preparing for Ajax
Sourcing the Product Information
Adding Form Validation
Submitting the Form Data Using Ajax
Processing the Server Response
Summary
PART 4: Using jQuery UI
CHAPTER 17: Setting Up jQuery UI
Obtaining jQuery UI
Installing jQuery UI for Development
Installing jQuery UI for Production
Summary
CHAPTER 18: Using the Button, Progress Bar, and Slider Widgets
Using the jQuery UI Button
Creating Different Types of Button
Using the jQuery UI Progress Bar
Using the jQuery UI Slider
Summary
CHAPTER 19: Using the Autocomplete and Accordion Widgets
Using jQuery UI Autocomplete
Using the jQuery UI Accordion
Summary
CHAPTER 20: Using the Tabs Widget
Creating the Tabs
Getting Tab Content with Ajax
Configuring the jQuery UI Tabs
Using the jQuery UI Tabs Methods
Using the jQuery UI Tabs Events
Summary
CHAPTER 21: Using the Datepicker Widget
Creating the Datepicker
Configuring the Datepicker
Using the Datepicker Methods
Using the Datepicker Events
Localizing Date Selection
Summary
CHAPTER 22: Using the Dialog Widget
Creating the Dialog
Configuring the Dialog
Using the Dialog Methods
Using the Dialog Events
Summary
CHAPTER 23: Using the Drag & Drop Interactions
Creating the Draggable Interaction
Using the Droppable Interaction
Tuning Drag and Drop
Summary
CHAPTER 24: Using the Other Interactions
Using the Sortable Interaction
Using the Selectable Interaction
Using the Resizable Interaction
Summary
CHAPTER 25: Refactoring the Example: Part III
Reviewing the Refactored Example
Displaying the Products
Adding the Shopping Basket
Applying the Theme Style
Creating the jQuery UI Button
Adding the Completion Dialog
Handling the Place Order Button Click
Completing the Order
Summary
PART 5: Using jQuery Mobile
CHAPTER 26: Getting Started with jQuery Mobile
Setting Up jQuery Mobile
Understanding the jQuery Mobile Approach
Working with Mobile Devices
Summary
CHAPTER 27: Pages and Navigation
Understanding jQuery Mobile Pages
Using Scripting to Control jQuery Mobile Pages
Using Page Events
Summary
CHAPTER 28: Dialogs, Themes, and Layouts
Creating Dialogs
Applying Themes
Creating Grid Layouts
Summary
CHAPTER 29: Buttons and Collapsible Blocks
Using jQuery Mobile Buttons
Using Collapsible Content Blocks
Summary
CHAPTER 30: Using jQuery Mobile Forms
Understanding Automatically Created Form Elements
Using Select Elements
Creating Check Boxes
Creating Radio Buttons
Using Range Sliders
Summary
CHAPTER 31: jQuery Mobile Lists
Getting Started with Lists
Formatting Lists
Formatting List Items
Summary
CHAPTER 32: Refactoring the Mobile Example: Part IV
Starting with the Basics
Inserting Products Programmatically
Creating the Shopping Basket
Implementing the Checkout Process
Summary
PART 6: Advanced Features
CHAPTER 33: Using the jQuery Utility Methods
Queues Revisited: Using General-Purpose Queues
Utility Methods for Arrays
Utility Methods for Types
Utility Methods for Data
Other Utility Methods
Summary
CHAPTER 34: The jQuery UI Effects & CSS Framework
Using the jQuery UI Effects
Using the jQuery UI CSS Framework
Summary
CHAPTER 35: Using Deferred Objects
A First Deferred Objects Example
Using Other Callbacks
Using Multiple Callbacks
Using the Outcomes of Multiple Deferred Objects
Providing Progress Information
Getting Information about a Deferred Object
Using Ajax Deferred Objects
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
CHAPTER 16: Refactoring the Example: Part II
Next
Next Chapter
CHAPTER 17: Setting Up jQuery UI
P A R T 4
Using jQuery UI
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset