Chapter 6. Diving Deeper into jQuery Mobile

Image

If this be magic, let it be an art Lawful as eating.

—William Shakespeare

Diving Deeper into jQuery Mobile

The jQuery Mobile framework weaves its magic through a combination of JavaScript and CSS. When a page initially loads, the JavaScript analyzes the custom data attributes in each HTML element and uses them to assign CSS classes, bind event handlers, and insert page elements. Tapping a link or button triggers an event, showing or hiding content, or loading a new page block. Each time this happens, jQuery Mobile dynamically updates the CSS classes applied to each element.

Under the hood are more than ...

Get Adobe Dreamweaver CS5.5 Studio Techniques: Designing and Developing for Mobile with jQuery, HTML5, and CSS3 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.