Create overlay panel
Description
The following code shows how to create overlay panel.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script type='text/javascript'
src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css">
</head><!--from w w w . j a v a2 s.co m-->
<body>
<div data-role="page">
<div data-role="panel" id="testPanel" data-theme="e"
data-position="left" data-display="overlay">
<h3>Default panel options</h3>
<p>
This panel has all the default options: positioned on the left with
the reveal display mode. The panel markup is <em>before</em> the
header, content and footer in the source order.
</p>
<p>To close, click off the panel, swipe left or right, hit the
Esc key, or use the button below:</p>
</div>
<div data-role="header">
<h1>test</h1>
<a href="#testPanel" data-role="button" data-icon="plus"
data-iconpos="notext">Contact</a>
</div>
<div data-role="content"></div>
<div data-role="footer" data-position="fixed">
<h4>Copyright 2013 - All Rights Reserved -</h4>
</div>
</div>
</body>
</html>