Home > Store

Sams Teach Yourself jQuery Mobile in 24 Hours, Rough Cuts

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • 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.

Not for Sale

Description

  • Copyright 2013
  • Dimensions: 7" x 9-1/8"
  • Pages: 496
  • Edition: 1st
  • Rough Cuts
  • ISBN-10: 0-13-296636-0
  • ISBN-13: 978-0-13-296636-8

This is the Rough Cut version of the printed book.

Quickly start using jQuery Mobile with HTML, CSS, and JavaScript.
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.

Sample Content

Table of Contents

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

Updates

Submit Errata

More Information