Put navbar as header
Description
The following code shows how to put navbar as header.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.8.3.js'></script>
<script type='text/javascript'
src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css">
</head><!-- w w w. j a va 2 s. c om-->
<body>
<div data-role="page">
<div data-role="header">
<div data-role="navbar">
<ul>
<li><a href="#" class="ui-btn-active">One</a></li>
<li><a href="#">Two</a></li>
<li><a href="#">Three</a></li>
</ul>
</div>
<!-- /navbar -->
</div>
<div data-role="content">
<p>Some Content here</p>
</div>
<div data-role="footer" data-position="fixed">
<div data-role="navbar">
<ul>
<li><a href="#">One</a></li>
<li><a href="#">Two</a></li>
<li><a href="#">Three</a></li>
</ul>
</div>
<!-- /navbar -->
<p style="text-align: center;">I'm the footer</p>
</div>
<!-- /footer -->
</div>
</body>
</html>