Page 114 - JqueryMobile_Manual
P. 114
114
</div>
</div>
<div data-role="page" data-dialog="true" id="pagetwo">
<div data-role="header" data-theme="b">
<h1>Themed Dialog Box!</h1>
</div>
<div data-role="main" class="ui-content">
<p>I'm A Themed Dialog Box - My Header And Footer Is Black!</p>
<a href="#pageone" class="ui-btn ui-btn-inline">Go to Page One</a>
</div>
<div data-role="footer" data-theme="b">
<h1>Footer Text In Dialog</h1>
</div>
</div>
</body>
</html>
Theming buttons
tryjqmob_themes_buttons.html
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="page" id="pageone">
<div data-role="header">
<h1>Insert Page Title Here</h1>
</div>
<div data-role="main" class="ui-content">
<p>Normal Buttons:</p>
<a href="#" class="ui-btn">Gray Button (default)</a>
<a href="#" class="ui-btn ui-btn-b">Black Button</a>
<br>
<p>Inline Buttons:</p>
<a href="#" class="ui-btn ui-btn-inline">Gray Button (default)</a>
<a href="#" class="ui-btn ui-btn-inline ui-btn-b">Black Button</a>
</div>
<div data-role="footer">
<h1>Insert Footer Text Here</h1>
</div>
</div>
</body>
</html>