02.06.2013 Views

Master Mobile Web Apps with jQuery Mobile (Third Edition)

Master Mobile Web Apps with jQuery Mobile (Third Edition)

Master Mobile Web Apps with jQuery Mobile (Third Edition)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Creating the Contact Form 20<br />

Creating the Contact Form Handler 24<br />

Testing the <strong>Web</strong>site 28<br />

Summary 29<br />

Part II: <strong>jQuery</strong> <strong>Mobile</strong> Essentials 30<br />

3 Creating Pages in <strong>jQuery</strong> <strong>Mobile</strong> 31<br />

Pages in <strong>jQuery</strong> <strong>Mobile</strong> 32<br />

A Basic Page Template 32<br />

Creating Multi-Page Documents 35<br />

Multi-Page vs. Separate Pages 37<br />

Updating the Title Bar 38<br />

Containers Are Optional 39<br />

Linking Back 40<br />

Creating Page Transitions 40<br />

Summary 45<br />

4 Adding Buttons 47<br />

Turning Links into Buttons 47<br />

Creating Form Buttons 49<br />

Adding Button Icons 50<br />

Positioning Icons 51<br />

Making Your Own Icons 52<br />

Creating Custom HD (“Retina”) Icons 54<br />

<strong>Master</strong> <strong>Mobile</strong> <strong>Web</strong> <strong>Apps</strong> <strong>with</strong> <strong>jQuery</strong> <strong>Mobile</strong> (<strong>Third</strong> <strong>Edition</strong>) vi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!