售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
jQuery Mobile Web Development Essentials Third Edition
Table of Contents
jQuery Mobile Web Development Essentials Third Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What is jQuery Mobile?
What's the cost?
What do you need to know?
What about native apps?
Help!
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Preparing Your First jQuery Mobile Project
Important preliminary points
Building an HTML page
Getting jQuery Mobile
Implementing jQuery Mobile
Working with data attributes
Summary
2. Working with jQuery Mobile Pages
Important preliminary points
Adding multiple pages to one file
jQuery Mobile, links, and you
Working with multiple files
jQuery Mobile and URLs
Additional customization
Page titles
Prefetching content
Changing page transitions
Summary
3. Enhancing Pages with Headers, Footers, and Toolbars
Important preliminary points
Adding headers
Icon sneak peek
Working with back buttons
Working with footers
Creating fixed and fullscreen headers and footers
Fullscreen headers and footers
Working with navigation bars
Persisting navigation bar footers across multiple pages
Summary
4. Working with Lists
Creating lists
Working with list features
Creating inset lists
Creating list dividers
Autodividers
Creating lists with count bubbles
Using thumbnails and icons
Creating split button lists
Summary
5. Getting Practical – Building a Simple Hotel Mobile Website
Welcome to Hotel Camden
The home page
Finding the hotel
Listing the hotel rooms
Contacting the hotel
Summary
6. Working with Forms and jQuery Mobile
Before you begin
What jQuery Mobile does with forms
Working with radio buttons and checkboxes
Working with select menus
Custom select fields
Search, toggle, and slider fields
Search fields
Flip switch fields
Slider fields
Using native form controls
Working with mini fields
Summary
7. Creating Grids, Panels, and Other Widgets
Laying out content with grids
Making responsive grids
Working with collapsible content
Using popups
Responsive tables
Working with panels
Using filterable widgets
Working with tabs
Summary
8. Moving Further with the Notekeeper Mobile Application
What is a mobile application?
Designing your first mobile application
Listing out the requirements
Building your wireframes
Designing the Add Note wireframe
The Display Notes wireframe
The View Note/Delete button wireframe
Writing the HTML
Adding functionality with JavaScript
Storing Notekeeper data
Using localStorage
Effective use of boilerplates
Building the Add Note feature
Adding bindings
Collecting and storing data
Building the Display Notes feature
Dynamically adding notes to our listview
Viewing a note
Using the .on() method
Dynamically creating a new page
Deleting a note
Summary
9. jQuery Mobile Configuration, Utilities, and JavaScript Methods
Configuring jQuery Mobile
Using jQuery Mobile utilities
Page methods and utilities
Utilities related to path and URL
jQuery Mobile widget and form utilities
Summary
10. Working with Events
Working with physical events
Handling page events
What about $(document).ready?
Creating a real example
Summary
11. Enhancing jQuery Mobile
What's possible for designs?
The visual building blocks of jQuery Mobile
Border-radius
Applying drop shadows
Using text-shadow
Using box-shadow
CSS gradients
The basics of jQuery Mobile theming
Bars (.ui-bar-?)
Content blocks (.ui-body-?)
Buttons and listviews (.ui-btn-?)
Mixing and matching swatches
Site-wide active state
Default icons
Creating and using a custom theme
What's ThemeRoller?
Using ThemeRoller
Preview
Colors
Inspector
Tools
Creating a theme for Notekeeper
Exporting your theme
Updating the Notekeeper app
Adding our custom theme
Summary
12. Creating Native Applications
HTML as a native application
Working with PhoneGap
Adding the PhoneGap functionality
Summary
13. Becoming an Expert – Building an RSS Reader Application
RSS reader – the application
Creating the RSS reader application
The displayFeeds function
Storing our feeds
Adding an RSS feed
Viewing a feed
Creating the entry view
Going further
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜