Skip to content

Instantly share code, notes, and snippets.

@gvorster
Created June 24, 2015 08:36
Show Gist options
  • Save gvorster/c20763478ef4a46941c3 to your computer and use it in GitHub Desktop.
Save gvorster/c20763478ef4a46941c3 to your computer and use it in GitHub Desktop.
Slide menu panel in header
// create panel in header
// set href to id of panel
<div data-role="header">
<a href="#menuPanel" class="ui-btn ui-icon-delete ui-btn-icon-notext ui-corner-all">No text</a>
<h1><g:message code="applicationTitle"/></h1>
<div data-role="panel" id="menuPanel" data-display="overlay" data-position="left">
panel content
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment