Skip to content

Instantly share code, notes, and snippets.

@frequent
Created November 25, 2012 10:00
Show Gist options
  • Save frequent/4142962 to your computer and use it in GitHub Desktop.
Save frequent/4142962 to your computer and use it in GitHub Desktop.
basic setup of a jQuery Multiview page
<div data-role="page" id="your_wrapper_id" data-wrapper="true">
<!-- global header -->
<div data-role="panel" data-id="your_menu_panel_id" data-panel="menu">
<div data-role="page" id="your_menu_page_id" data-show="first">
<!-- local header -->
<!-- page content -->
<!-- local footer -->
</div>
</div>
<div data-role="panel" data-id="your_main_panel_id" data-panel="main">
<div data-role="page" id="your_main_page_id" data-show="first">
<!-- see above -->
</div>
</div>
<!-- popover panels -->
<!-- global footer -->
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment