Skip to content

Instantly share code, notes, and snippets.

@ollieglass
Created April 9, 2012 16:30
Show Gist options
  • Save ollieglass/2344577 to your computer and use it in GitHub Desktop.
Save ollieglass/2344577 to your computer and use it in GitHub Desktop.
Pages and links with jQuery Mobile
<div data-role="page" id="first">
<div data-role="header">
<h1>Page Title1</h1>
</div><!-- /header -->
<div data-role="content">
<p>Page content goes here.</p>
<a href="#second">Go to second page</a>
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="second">
<div data-role="header">
<h1>Page Title2</h1>
</div><!-- /header -->
<div data-role="content">
<p>Page content goes here.</p>
</div><!-- /content -->
</div><!-- /page -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment