Book Image

Dreamweaver CS6 Mobile and Web Development with HTML5, CSS3, and jQuery Mobile

By : DAVID KARLINS
Book Image

Dreamweaver CS6 Mobile and Web Development with HTML5, CSS3, and jQuery Mobile

By: DAVID KARLINS

Overview of this book

<p>Dreamweaver is the most powerful and industry-leading web design software that utilizes cutting edge web technologies such as HTML5, CSS3, and jQuery for web and mobile development. These technologies have radically reconfigured the process of designing web content and function in the widest possible range of browsing environments, ranging from desktops to mobile devices.<br /><br />"Dreamweaver CS6 Mobile and Web Development with HTML5, CSS3, and jQuery Mobile" is essentially three books in one: an introduction to building websites; Dreamweaver CS6: HTML5, CSS3, Responsive Design; and an in-depth explanation of how to build inviting, accessible mobile sites with Dreamweaver CS6, responsive design, and jQuery Mobile.<br /><br />This book serves both as the essential reference for Dreamweaver CS6, and a valuable addition to even the most extensive set of resources for modern web design, with or without Dreamweaver.<br /><br />The book starts off by teaching you to create sites and pages with Dreamweaver CS6 and how to use HTML5 for page structure. Then we will learn some cutting-edge design and animation with CSS3. <br /><br />The book also shows how to create and enhance mobile sites with jQuery Mobile. You will also learn to customize themes with ThemeRoller.<br /><br />"Dreamweaver CS6 Mobile and Web Development with HTML5, CSS3, and jQuery Mobile Mobile" covers the entire spectrum of web design with Dreamweaver, with an emphasis on multi-media (full screen and mobile) design and jQuery Mobile.</p>
Table of Contents (17 chapters)
Dreamweaver CS6 Mobile and Web Development with HTML5, CSS3, and jQuery Mobile
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Customizing Mobile page content


In a basic sense, you customize jQuery Mobile page content the same way you customize any starter-page-generated content. Starter pages come with template content, and you can replace that with your own real content.

Simple enough? Kind of. As we've noted, there is a different order of gaps between the content and layout in jQuery Mobile pages. To put it another way, nothing is even close to how it appears with Live View turned off. And yet, you can't edit content in Live View.

The HTML5 data-role property

Div tags associated with the jQuery Mobile script can function as different kinds of elements, including ones that appear to be and act like pages in a mobile device. This is done by implementing the data-role property in HTML5 tags, and then defining CSS (stylesheet) rules to go with each data-role.

Typically, and this is the case for the starter pages in Dreamweaver, jQuery Mobile pages are organized and laid out using the following four data-roles:

  • Page

  • Header...