Adding a second page in jQuery Mobile

There is a really cool feature in jQuery Mobile that allows you to divide a bigger HTML page into smaller, digestible parts. Imagine you have a page that has a lot of content and you don't want to force your audience to keep scrolling down to read. Consider using jQuery Mobile's multipage template structure. The user experience of a web page on a mobile device is very different from that of the one on a desktop. On the old desktop Web, it was often said, "Content is king"; now that the Web is mobile, there is limited space, and it's easy for all that content to become too much content. You may want to consider limiting some of what is displayed on each page. In this recipe, we will use jQuery Mobile to divide ...

Get HTML5 and CSS3: Building Responsive Websites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.