Book Image

jQuery Mobile Web Development Essentials - Third Edition

By : Raymond Camden, Andy Matthews
Book Image

jQuery Mobile Web Development Essentials - 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

Updating the Notekeeper app


It's time for us to tie all of these loose ends together. We have a custom theme that we built using ThemeRoller, and now, it's time for us to put all the pieces together. You'll need the following pieces to finish up:

  • The code you completed at the end of Chapter 8, Moving Further with the Notekeeper Mobile Application

  • The custom theme you created earlier in this chapter

Adding our custom theme

Let's start with the easiest part. Adding our custom theme is pretty simple. Open notekeeper.html (in your browser and in the text editor of your choice). Additionally, open the index.html file from your theme's ZIP file. We're going to merge the <head> tag from the theme file into notekeeper.html. You can see the results of the merge in the following code:

<title>Notekeeper</title>
<meta name="viewport" 
      content="width=device-width, initial-scale=1">	

<link rel="stylesheet" href="themes/Notekeeper.min.css" />
<link rel="stylesheet" href...