Book Image

jQuery Mobile Web Development Essentials-Third Edition - Third Edition

By : Raymond Camden, Andy Matthews
Book Image

jQuery Mobile Web Development Essentials-Third Edition - Third Edition

By: Raymond Camden, Andy Matthews

Overview of this book

jQuery Mobile is a HTML5-based touch-optimized web framework. jQuery Mobile can be used to build responsive cross-platform websites and apps for a wide range of smartphones, tablets, and desktop devices. The jQuery Mobile framework can be integrated with other mobile app frameworks such as PhoneGap, IBM Worklight, and more. Introduction to jQuery Mobile explains how to add the framework to your HTML pages to create rich, mobile-optimized web pages with minimal effort. You’ll learn how to use jQuery Mobile’s automatic enhancements and configure the framework for customized, powerful mobile-friendly websites. We then dig into forms, events, and styling. You'll see how jQuery Mobile automatically enhances content, and will find out how to use the JavaScript API to build complex sites. We’ll introduce you to how jQuery Mobile can be themed as well looking into how JavaScript can be used for deep sets of customizations. The examples are ready to run and can be used to help kick-start your own site. Along the way, you will leverage all the concepts you learn to build three sample mobile applications.
Table of Contents (20 chapters)
jQuery Mobile Web Development Essentials Third Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

The visual building blocks of jQuery Mobile


As you've already seen, jQuery Mobile is very user-friendly and pleasing to the eye. It uses rounded corners, subtle gradients, and drop shadows to make elements stand out from their surroundings, and other tricks that graphic designers have been using for years in print. But on the Web, these effects were only possible with the use of images, or complicated and poorly supported plugins and applets.

With the advent of Web 2.0 and CSS3, all of these options have been made available to us, layman web developers. Just remember that with great power comes great responsibility. jQuery Mobile operates on the principle of progressive enhancement. A tricky phrase, but it just means that you should develop for the lowest common denominator and offer enhancements for browsers that understand it.

Lucky for us, these stylistic additions are almost purely cosmetic. If a browser doesn't understand the border-radius declaration, then it will simply display squared...