O'Reilly logo

Sams Teach Yourself jQuery Mobile in 24 Hours by Phil Dutson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 5. Building Your First Mobile Site

What You’ll Learn In This Hour:

• The basic structure of a page

• How to add a header and a footer bar to your page

• How to add some simple formatting to your layout

• How to attach an image and make it scale

• How to use a button to link to another page

You’ve been introduced to most of the basic building blocks that make up jQuery Mobile. In this hour we put them together to make a rudimentary but usable website.

We start with the basics of site structure and move on to adding content. When we are finished you’ll have a small two-page site that features an auto-scaling image and a link to a second page. The link is triggered by a button and gives you a look at page transitions.

Structuring the Page ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required