rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9780672335945

Sams Teach Yourself Jquery Mobile in 24 Hours

by
  • ISBN13:

    9780672335945

  • ISBN10:

    0672335948

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2012-07-13
  • Publisher: Sams Publishing
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99

Summary

jQuery Mobile makes it easy for developers to add "native" mobile functionality to their sites and applications, delivering seamless experiences to customers using diverse mobile devices, all from a single code base. In this book, leading mobile expert Phil Dutson helps readers master the latest version of jQuery Mobile, even if they have no previous experience. In just 24 lessons of one hour or less, Dutson guides readers through every step of creating and customizing a mobile website with jQuery Mobile. Each short, easy lesson builds on all that's come before, teaching jQuery Mobile's newest features in the context of real solution development. Readers learn how to: -Create user interfaces with toolbars, buttons, forms, lists, events, and themes -Build responsive layouts and develop new themes -Detect diverse devices -Encode and embed mobile video -Use mobile device simulators -Build apps with PhoneGap and jQuery Mobile -Incorporate QR and Microsoft Tag Codes -And much more Step-by-step instructions walk developers through common questions, issues, and tasks... Quizzes and Exercises build and test knowledge... "Did You Know?" tips offer insider advice and shortcuts... and "Watch Out!" alerts help readers avoid problems. By the time they're finished, readers will be comfortable going beyond the book to "mobilize" virtually any site.

Author Biography

Phil Dutson is Lead eCommerce Developer for ICON Health and Fitness, the world's second-largest online fitness equipment retailer. There, he specializes in creating seamless customer experiences across multiple browsers and platforms. Dutson has worked on pioneering projects and solutions for NordicTrack, ProForm, Freemotion, Sears, Costco, Sams Club, and other leading firms. Dutson cofounded and manages The E-Com DevBlog (dev.tonic1394.com), a blog focused on web development solutions.

Table of Contents

Introductionp. 1
Key Features of This Bookp. 1
How to Use This Bookp. 2
How This Book Is Organizedp. 2
Conventions Used in This Bookp. 3
Sample Code for This Bookp. 3
Beginning jQuery Mobile
Getting to Know jQuery Mobilep. 7
Why You Should Use jQuery Mobilep. 7
Supported Devicesp. 9
The Developer's Arsenalp. 12
Summaryp. 18
Q&Ap. 18
Workshopp. 19
Working with HTML, CSS, and JavaScriptp. 21
Building Content with HTMLp. 21
Presenting CSSp. 27
Functioning with JavaScriptp. 32
Summaryp. 37
Q&Ap. 38
Workshopp. 38
Using the jQuery Frameworkp. 41
Including jQuery in Your Sitep. 42
Summaryp. 58
Q&Ap. 58
Workshopp. 59
Introduction to the jQuery Mobile Frameworkp. 61
Adding jQuery Mobile to Your Sitep. 61
Using Data Rolesp. 63
Creating a Simple Pagep. 65
Understanding the Mobile Initialization Eventp. 69
Using the pageinit Event Instead of $ (document). ready ()p. 70
Summaryp. 75
Q&Ap. 76
Workshopp. 76
Building Your First Mobile Sitep. 79
Structuring the Pagep. 79
Adding a Header and Footerp. 82
Formatting Text Contentp. 84
Attaching an Imagep. 86
Linking to a Second Pagep. 89
Summaryp. 91
Q&Ap. 92
Workshopp. 92
Creating the User Interface
Knowing the Capabilities of Mobile Devicesp. 97
Understanding Screen Resolutions and PPIp. 97
Additional Mobile Featuresp. 101
Looking at Mobile Operating Systemsp. 105
Learning About Mobile Graded Browser Supportp. 108
Summaryp. 108
Q&Ap. 109
Workshopp. 110
Learning About Page Layoutp. 113
Using a Single Page Layoutp. 113
Using a Multiple Page Layoutp. 115
Aligning Content with a Gridp. 122
Conquering Collapsible Contentp. 127
Summaryp. 130
Q&Ap. 130
Workshopp. 131
Tuning the Toolbarsp. 133
Adding a Header Toolbarp. 133
Attaching a Navigation Toolbarp. 137
Adding a Footer Toolbarp. 139
Positioning the Toolbarsp. 144
Adding Persistent Navigationp. 148
Summaryp. 150
Q&Ap. 150
Workshopp. 150
Designing Buttonsp. 153
Beginning with Buttonsp. 153
Overriding Button Defaultsp. 156
Changing the Button Sizep. 158
Adding Icons to Buttonsp. 162
Summaryp. 167
Q&Ap. 167
Workshopp. 168
Formulating Your Formsp. 171
Getting Started with Formsp. 171
Enhancing Forms with jQuery Mobilep. 173
Extended Input Elementsp. 181
Submitting Formsp. 186
Summaryp. 188
Q&Ap. 188
Workshopp. 188
Learning About Listsp. 191
Creating Standard and Inset Listsp. 191
Adding Extras to Listsp. 194
Using Icons and Thumbnailsp. 196
Searching List Contentp. 202
Using a List Within a Formp. 204
Summaryp. 206
Q&Ap. 206
Workshopp. 206
Handling Eventsp. 209
Events for Page Initializationp. 209
Brushing Up on Touch Eventsp. 215
Looking at Virtual Mouse Eventsp. 221
Adapting to the Orientation Eventp. 223
Summaryp. 225
Q&Ap. 225
Workshopp. 226
Changing the Default Themep. 229
Learning About the Theme Frameworkp. 229
Theming Site Componentsp. 236
Switching the Swatchesp. 239
Summaryp. 247
Q&Ap. 248
Workshopp. 248
Customizing Your Content
Spruching Up Your Designp. 253
Understanding Copyrights and Licensingp. 253
Finding Imagesp. 257
Functionality Enhancement with Plug-insp. 261
Adding Custom Fontsp. 265
Summaryp. 271
Q&Ap. 271
Workshopp. 272
Responsive Site Layoutp. 275
Appreciating Media Queriesp. 275
Adjusting Layouts Based on Screen Sizep. 276
Rotating Site Layoutp. 286
Summaryp. 289
Q&Ap. 289
Workshopp. 290
Rolling Your Own Theme with ThemeRollerp. 293
Introduction to ThemeRollerp. 293
Creating a Theme with ThemeRollerp. 294
Working with a Custom Themep. 302
Summaryp. 305
Q&Ap. 305
Workshopp. 306
Detecting Mobile Devicesp. 309
Learning the Importance of Mobile Detectionp. 309
Using the .htaccess Filep. 310
Playing Device Detective with PHPp. 313
Using JavaScript as a Detection Methodp. 316
Non-Detection Solutionsp. 320
Summaryp. 323
Q&Ap. 323
Workshopp. 324
Extending the Mobile Experience
Embedding Video Playback for Mobilep. 327
Understanding Video Playbackp. 327
Embedding a Video with YouTubep. 328
Embedding a Video with Vimeop. 334
Embedding Your Own Videop. 336
Exploring Other Video Embedding Servicesp. 340
Summaryp. 341
Q&Ap. 341
Workshopp. 341
Encoding Your Own Videos for Mobilep. 343
Learning the Basics of Video Encodingp. 343
Comparing Video Codecs and Mobile Devicesp. 349
Encoding Video for Mobile Playbackp. 351
Delivering Video Contentp. 357
Summaryp. 359
Q&Ap. 360
Workshopp. 360
Creating QR and Tag Codesp. 363
Delving into QR and Tag Codesp. 363
Scanning QR Codesp. 364
Rendering Quick Response Codesp. 365
Generating Microsoft Tag Codesp. 375
Summaryp. 379
Q&Ap. 379
Workshopp. 380
Learning to Minify Everythingp. 381
Compressing Codep. 381
Using Gzip and Deflatep. 387
Compressing Imagesp. 389
Using mod_pagespeed on Your Apache Serverp. 394
Summaryp. 395
Q&Ap. 395
Workshopp. 396
Using Mobile Device Emulatorsp. 397
Turning to Mobile Device Emulatorsp. 397
Finding Emulators for Testingp. 399
Using Emulators for Testingp. 411
Summaryp. 415
Q&Ap. 415
Workshopp. 416
Building an App with PhoneGap and jQuery Mobilep. 419
Getting Started with PhoneGapp. 419
Including jQuery Mobile in Your Projectp. 430
Compilling the Applicationp. 437
Summaryp. 440
Q&Ap. 440
Workshopp. 440
Including jQuery Mobile with WordPressp. 443
Introducing the WordPress CMSp. 443
Installing WordPressp. 444
Creating a Custom Theme for WorldPressp. 445
Adding jQuery Mobile to Your Themep. 447
Summaryp. 461
Q&Ap. 462
Workshopp. 462
Indexp. 465
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program