Chapter 6. Diving Deeper into jQuery Mobile


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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.