Create a mobile website with jQuery Mobile

  • Knowledge needed: Beginning HTML5, intermediate CSS, jQuery, and jQuery Mobile
  • Requires: jQuery and jQuery Mobile libraries and a text editor
  • Project time: 4-6 hours
  • Support file

This is an edited excerpt from Chapter 15 of Murach's HTML5 and CSS3 by Zak Ruvalcaba and Anne Boehm.

Swipe to scroll horizontally
slideThe next page slides in from right to left.
slideupThe next page slides in from bottom to top.
slidedownThe next page slides in from top to bottom.
popThe next page fades in from the middle of the screen.
fadeThe next page fades into view.
flipThe next page flips from back to front similar to a playing card being flipped over. This transition isn’t supported on some device.
Swipe to scroll horizontally
aBlack background with white foreground. This is the default.
bBlue background with white foreground.
cLight gray background with a black foreground. Text will appear in bold.
dDark gray background with black foreground. Text will not appear in bold.
eOrange background with black foreground. Use for accents, and use sparingly.

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

TOPICS

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began back in 2012. The current website team consists of eight full-time members of staff: Editor Georgia Coggan, Deputy Editor Rosie Hilder, Ecommerce Editor Beren Neale, Senior News Editor Daniel Piper, Editor, Digital Art and 3D Ian Dean, Tech Reviews Editor Erlingur Einarsson and Ecommerce Writer Beth Nicholls and Staff Writer Natalie Fear, as well as a roster of freelancers from around the world. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq. 

Latest in HTML
Write HTML faster
How to write HTML code faster
HTML tags
8 HTML tags you need to be using (and 5 to avoid)
HTML tags
HTML tags: A guide to the basics
18 great HTML APIs – and how to use them
Convert Flash games to HTML5
Convert Flash games to HTML5
Build a simple HTML page
Latest in How to
Rob Redman's snowy image illustrates the AE tutorial: TDW313.PT_AE_Snow.indd
How to create realistic snow with particle systems using After Effects
Ivan Mironenko ZBrush character tutorial
Craft a game-ready character asset using ZBrush and Substance 3D Painter
Oliver Schümann ZBrush bizarre baby tutorial
Create a bizarre baby sculpture in ZBrush
Alireza Khoshpayam arch-viz tips
Speedy tips to create beautifully photoreal archviz using 3ds Max and Corona
Maya 3D abstract strands tutorial
How to easily create complex and abstract animation using Maya
Whiskytree battle damage effects tutorial
Create gnarly battle damage for vehicles using a mix of Maya and Nuke