Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is the Rough Cut version of the printed book.
Quickly start using jQuery Mobile with HTML, CSS, and JavaScript.Introduction 1
Key Features of This Book 1
How to Use This Book 2
How This Book Is Organized 2
Conventions Used in This Book. 3
Sample Code for This Book 3
Part I: Beginning jQuery Mobile
Hour 1: Getting to Know jQuery Mobile 7
Why You Should Use jQuery Mobile 7
Supported Devices 9
The Developer’s Arsenal 12
Summary 18
Q&A 18
Workshop 19
Hour 2: Working with HTML, CSS, and JavaScript 21
Building Content with HTML 21
Presenting CSS 27
Functioning with JavaScript 32
Summary 37
Q&A 38
Workshop 38
Hour 3: Using the jQuery Framework 41
Including jQuery in Your Site 42
Summary 58
Q&A 58
Workshop 59
Hour 4: Introduction to the jQuery Mobile Framework 61
Adding jQuery Mobile to Your Site. 61
Using Data Roles 63
Creating a Simple Page 65
Understanding the Mobile Initialization Event 69
Using the pageinit Event Instead of $(document).ready() 70
Summary 75
Q&A 76
Workshop 76
Hour 5: Building Your First Mobile Site 79
Structuring the Page 79
Adding a Header and Footer 82
Formatting Text Content. 84
Attaching an Image 86
Linking to a Second Page 89
Summary 91
Q&A 92
Workshop 92
Part II: Creating the User Interface
Hour 6: Knowing the Capabilities of Mobile Devices 97
Understanding Screen Resolutions and PPI 97
Additional Mobile Features 101
Looking at Mobile Operating Systems 105
Learning About Mobile Graded Browser Support 108
Summary 108
Q&A 109
Workshop 110
Hour 7: Learning About Page Layout 113
Using a Single Page Layout 113
Using a Multiple Page Layout 115
Aligning Content with a Grid 122
Conquering Collapsible Content 127
Summary 130
Q&A 130
Workshop 131
Hour 8: Tuning the Toolbars 133
Adding a Header Toolbar 133
Attaching a Navigation Toolbar 137
Adding a Footer Toolbar 139
Positioning the Toolbars 144
Adding Persistent Navigation 148
Summary 150
Q&A 150
Workshop 150
Hour 9: Designing Buttons 153
Beginning with Buttons 153
Overriding Button Defaults 156
Changing the Button Size 158
Addin