Maximiliano Firtman
Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo
Up and Running with jQuery Mobile by Maximiliano Firtman
Copyright © 2010 O’Reilly Media. All rights reserved.
Revision History for the :
2011-04-20
Early release revision 1
2011-07-20
Early release revision 2
2011-12-09
Early release revision 3
See http://oreilly.com/catalog/errata.csp?isbn=9781449397654 for release details.
ISBN: 978-1-449-39765-4
1323299275
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1. The Mobile Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Why do we need jQuery Mobile?
Myths of the Mobile Web
Mobile webapps
So, again… why do we need jQuery Mobile?
What is jQuery Mobile
What is not
The framework
The mobile and tablet world
Device categories
Operating Systems and Browsers jQuery Mobile compatibility
HTML5 and CSS3
Main Features
Use of non-intrusive semantic HTML5
Progressive enhancement
Accessibility support
Testing webapps
Emulators and Simulators
Remote Labs
1
1
3
3
4
4
5
6
6
10
11
14
15
15
16
17
18
19
22
2. Starting with the framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Preparing the document
Requirements
Hosting the files
Using a CDN
Main HTML5 template
Adobe Dreamweaver support
Previewing files
25
25
25
27
29
31
32
iii
Architecture
Roles
Theming
The page
Navigation
Back button
Internal page links
External page links
Absolute external links
Mobile Special Links
Transition between pages
Reverse transition
Dialogs
Closing or going back?
Opening pages from dialogs
Integrating with the Phone
Making a call
Video- and voIP-calls
Sending email
Sending an SMS
Other URI-schemes