Page 78 - JqueryMobile_Manual
P. 78
78
<div data-role="popup" id="myPopup">
<ul data-role="listview" data-inset="true" style="min-width:250px;">
<li data-role="list-divider">Europe</li>
<li><a href="#">Norway</a></li>
<li><a href="#">Germany</a></li>
<li data-role="list-divider">Asia</li>
<li><a href="#">India</a></li>
<li><a href="#">Thailand</a></li>
<li data-role="list-divider">Africa</li>
<li><a href="#">Zimbabwe</a></li>
<li><a href="#">Uganda</a></li>
</ul>
</div>
</div>
<div data-role="footer">
<h1>Footer Text</h1>
</div>
</div>
</body>
</html>
Collapsible lists
tryjqmob_lists_collapsible.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>Collapsible Lists</h1>
</div>
<div data-role="main" class="ui-content">
<h2>My Phonebook</h2>
<div data-role="collapsible">
<h4>A</h4>
<ul data-role="listview">
<li><a href="#">Adele</a></li>
<li><a href="#">Agnes</a></li>
</ul>
</div>
<div data-role="collapsible">
<h4>B</h4>
<ul data-role="listview">
<li><a href="#">Billy</a></li>