A
AJAX (XHR2), 108
AndroidCanvas-MultiLine2, 224
AndroidSVG1, 213
animate(), 52
Additional Code Samples on the CD, 63–64
Using Callback Functions, 47
Comparing CSS3 with jQuery, 64
2D Transforms with CSS3 and jQuery, 57–59
CSS3 Keyframes and 2D Transforms, 54
The jQuery .animate() Method, 52–54
Custom CSS Animation Using, 53–54
The fadeIn(), fadeOut(), and fadeToggle() Functions, 48–50
jQuery Slide-Related Functions, 50–52
Easing Functions in jQuery, 52
Slide-Related jQuery Methods, 173–174
Apache Cordova, 209
B
Backbone Boilerplate, 115
A Brief Introduction to, 112–115
C
Check Boxes and Radio Buttons, 74–76
click() function, 12
Collection, 113
CR (“Candidate Recommendation”) status, 88
Create “Exploding” Effects, 84
CRUD, 123
Additional Code Samples on the CD, 43–44
Gradients, 32
Quick Overview of CSS3 Features, 23
Pseudo Classes and Attribute Selection, 23–26
Shadow Effects and Rounded Corners, 26–32
Box Shadow Effects, 30
Specifying Colors with RGB and HSL, 26–29
Text Shadow Effects and, 26
Support and Browser-Specific Prefixes for CSS3 Properties, 22–23
css(), 8
CSS box model, 21
D
DAP (Device APIs) working group, 92
Detect portrait versus landscape mode, 23
divColors, 73
DOM (Document Object Model) structure, 186
E
Eclipse plugin, 225
Enhance.js, 22
H
hide() and show() functions, 46
Cartesian coordinate system, 187–189
CSS3 and jQuery Mobile with, 198–204
Linear Color Gradients, 193–196
Diagonal, 193
Horizontal, 193
Vertical, 193
Line Segments, Rectangles, Circles, and Shadow Effects, 189–193
Radial Color Gradients, 196–197
SVG versus, 187
Toolkits, 207
Transforms and Saving State, 197–198
HTML5-related technologies, 87–108
Cross-Origin Resource Sharing (CORS), 91–92
Detecting Online and Offline Status, 108
HTML5 Drag and Drop (DnD), 98–99
HTML5 History APIs, 106
HTML5 Offline Web Applications, 107
jQuery and HTML5 Drag and Drop, 99–101
jQuery and HTML5 File APIs, 104–106
jQuery and HTML5 Local Storage, 101–103
Libraries for HTML5 Local Storage, 103–104
The Battery API, 92
The Stages in the W3C Review Process, 88
Obtain a User’s Position with getCurrentPosition(), 90
Track a User’s Position with watchPosition(), 90–91
W3C Candidate Recommendation Status (CR), 92
W3C Recommendation Status (REC), 89
Working with, 221
XMLHttpRequest Level 2 (XHR2), 92–98
AJAX Requests using XMLHttpRequest Level 2 (XHR2), 97–98
Making AJAX Calls with jQuery, 95–96
Making AJAX Calls without jQuery, 93–94
I
iOS-based mobile applications, 225
J
A Minimal NodeJS Code Sample with Jade, 121–123
Templating Solutions, 123
JAXB, 15
JavaScript-based toolkit, 1
jQuery, 1
Accelerometer Values with jQuery, 16–19, 184
A Follow-the-Mouse Example with jQuery, 60–61
Chaining jQuery Functions, 15–16
Finding Elements in Web Pages, 1–4
Handling Click Events in jQuery, 12–14
Handling Events in jQuery 1.7 and Beyond, 14–15
Handling Other Events with jQuery, 61–62
Keyboard events, 62
Mouse Events, 62
Querying and Modifying the DOM with jQuery, 4–12
:eq, :lt, and :gt Qualifiers, 6
Finding and Setting Element Attributes, 7–8
:first and :last Qualifiers, 4–6
Properties versus Attributes in jQuery, 7
The jQuery append() and appendTo() methods, 10–11
working with custom attributes, 8
Useful jQuery Code Blocks, 8–9
using jQuery to remove elements, 11–12
Working with CSS3 Selectors in, 46
jQuery Mobile, 135–163, 165–170, 174–183
A Minimal jQuery Mobile Web Page, 136–138
Animation Effects with CSS3 and, 176–178
Handling User Gestures and Events in, 165–170
Portrait Mode versus Landscape Mode, 170
Scroll Events in, 169
Two jQuery Plugins for Detecting User Gestures, 168
List Views in jQuery Mobile, 156–161
Multiple Page Views in One HTML5 Web Page, 146–147
More Differences between jQuery and jQuery Mobile, 138–144
CSS-Related Page Initialization and, 143
Custom Attributes, 139
Page Views, 139
Options and Customization, 144
Key Features and Components in, 136
Page Navigation and Changing Pages, 144–145
The jqmData() Custom Selector, 145
Positioning the Header and Footer in Page Views, 148–149
Working with Buttons in, 150–156
Navigation Buttons as Anchor Links, 150–151
Groups of Buttons and Column Grids, 151
Rendering Buttons with Themes, 152–156
L
LC (“Last Call”) status, 88
M
method chaining, 2
Model, 112
Changes, 113
Modernizr, 22
Connecting to MongoDB via Mongoose, 125
Creating Schemas in Mongoose, 125–126
N
Nexus S 4G, 224
P
A CSS3 Cube on iOS Using, 222
Creating Android Apps with The PhoneGap Plugin, 218–221
Plugin, 225
Working with, 221
Property, 7
PR (“Proposed Recommendation”) status, 88
Q
Quadratic Bezier curves, 52, 205
R
REC (“Recommendation”) status, 88
rotate() function, 27
Router, 114
S
Same origin policy, 91
scale() function, 39
Scroll events, 169
Single-Page Application (SPA), 109–131
A Minimalistic SPA, 119
What is an SPA?, 109
Client-Side Technologies for SPAs, 111
Generating Web Pages in SPAs, 111
Handling Model-Related Events in SPAs, 111
Modern Web Architecture, 110
skew(), 40
Sliders, 67
slideUp(), slideDown(), and slideToggle() methods, 50
T
Tap and Swipe Events, 168
Theme Roller, 84
ThreeDCube1, 225
translate() method, 41
V
View, 113
W
WD (“Working Draft”) document, 88
Write-and-forget approach, 186
X
Xcode, 224