lists-readonly.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>jQuery Mobile Docs - Inset Readonly Lists</title>
  7. <link rel="stylesheet" href="../../jquery.mobile-1.0.1.min.css" />
  8. <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
  9. <script src="../../jquery.js"></script>
  10. <script src="../../experiments/themeswitcher/jquery.mobile.themeswitcher.js"></script>
  11. <script src="../_assets/js/jqm-docs.js"></script>
  12. <script src="../../jquery.mobile-1.0.1.min.js"></script>
  13. </head>
  14. <body>
  15. <div data-role="page" class="type-interior">
  16. <style type="text/css">
  17. h2 { margin:50px 0 30px 0; }
  18. </style>
  19. <div data-role="header" data-theme="f">
  20. <h1>Readonly lists</h1>
  21. <a href="../../" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
  22. </div><!-- /header -->
  23. <div data-role="content">
  24. <div class="content-primary">
  25. <p>Here is a variety of full-width lists that are read-only. If a list has the <code>data-role="listview"</code> attribute, but the contents aren't linked, it will display as read-only. These look like normal lists, except they don't have a right arrow and the text is set to a smaller size to save space.</p>
  26. <h2>Simple list</h2>
  27. <ul data-role="listview">
  28. <li>Acura</li>
  29. <li>Audi</li>
  30. <li>BMW</li>
  31. <li>Cadillac</li>
  32. <li>Ferrari</li>
  33. </ul>
  34. <h2>Count bubbles</h2>
  35. <ul data-role="listview">
  36. <li>Inbox <span class="ui-li-count">12</span></li>
  37. <li>Outbox <span class="ui-li-count">0</span></li>
  38. <li>Drafts <span class="ui-li-count">4</span></li>
  39. <li>Sent <span class="ui-li-count">328</span></li>
  40. <li>Trash <span class="ui-li-count">62</span></li>
  41. </ul>
  42. <h2>Numbered list</h2>
  43. <ol data-role="listview">
  44. <li>The Godfather</li>
  45. <li>Inception</li>
  46. <li>The Good, the Bad and the Ugly </li>
  47. <li>Pulp Fiction</li>
  48. <li>Schindler's List</li>
  49. </ol>
  50. <h2>Divided, formatted content</h2>
  51. <ul data-role="listview">
  52. <li>
  53. <h3>Stephen Weber</h3>
  54. <p><strong>You've been invited to a meeting at Filament Group in Boston, MA</strong></p>
  55. <p>Hey Stephen, if you're available at 10am tomorrow, we've got a meeting with the jQuery team.</p>
  56. <p class="ui-li-aside"><strong>6:24</strong>PM</p>
  57. </li>
  58. <li>
  59. <h3>jQuery Team</h3>
  60. <p><strong>Boston Conference Planning</strong></p>
  61. <p>In preparation for the upcoming conference in Boston, we need to start gathering a list of sponsors and speakers.</p>
  62. <p class="ui-li-aside"><strong>9:18</strong>AM</p>
  63. </li>
  64. </ul>
  65. <h2>Icon list</h2>
  66. <ul data-role="listview">
  67. <li><img src="images/gf.png" alt="France" class="ui-li-icon">France <span class="ui-li-count">4</span></li>
  68. <li><img src="images/de.png" alt="Germany" class="ui-li-icon">Germany <span class="ui-li-count">4</span></li>
  69. <li><img src="images/gb.png" alt="Great Britain" class="ui-li-icon">Great Britain <span class="ui-li-count">0</span></li>
  70. <li><img src="images/fi.png" alt="Finland" class="ui-li-icon">Finland <span class="ui-li-count">12</span></li>
  71. <li><img src="images/sj.png" alt="Norway" class="ui-li-icon">Norway <span class="ui-li-count">328</span></li>
  72. <li><img src="images/us.png" alt="United States" class="ui-li-icon">United States <span class="ui-li-count">62</span></li>
  73. </ul>
  74. <h2>Thumbnail list</h2>
  75. <ul data-role="listview">
  76. <li>
  77. <img src="images/album-bb.jpg" />
  78. <h3>Broken Bells</h3>
  79. <p>Broken Bells</p>
  80. </li>
  81. <li>
  82. <img src="images/album-hc.jpg" />
  83. <h3>Warning</h3>
  84. <p>Hot Chip</p>
  85. </li>
  86. <li>
  87. <img src="images/album-p.jpg" />
  88. <h3>Wolfgang Amadeus Phoenix</h3>
  89. <p>Phoenix</p>
  90. </li>
  91. </ul>
  92. <h2>Divided, filterable list</h2>
  93. <ul data-role="listview" data-filter="true">
  94. <li data-role="list-divider">A</li>
  95. <li>Adam Kinkaid</li>
  96. <li>Alex Wickerham</li>
  97. <li>Avery Johnson</li>
  98. <li data-role="list-divider">B</li>
  99. <li>Bob Cabot</li>
  100. <li data-role="list-divider">C</li>
  101. <li>Caleb Booth</li>
  102. <li>Christopher Adams</li>
  103. </ul>
  104. </div><!--/content-primary -->
  105. <div class="content-secondary">
  106. <div data-role="collapsible" data-collapsed="true" data-theme="b" data-content-theme="d">
  107. <h3>More in this section</h3>
  108. <ul data-role="listview" data-theme="c" data-dividertheme="d">
  109. <li data-role="list-divider">List views</li>
  110. <li><a href="docs-lists.html">List markup conventions</a></li>
  111. <li><a href="lists-ul.html">Basic linked list</a></li>
  112. <li><a href="lists-nested.html">Nested list</a></li>
  113. <li><a href="lists-ol.html">Numbered list</a></li>
  114. <li><a href="lists-split.html">Split button list</a></li>
  115. <li><a href="lists-divider.html">List dividers</a></li>
  116. <li><a href="lists-count.html">Count bubble</a></li>
  117. <li><a href="lists-thumbnails.html">Thumbnails</a></li>
  118. <li><a href="lists-icons.html">Icons</a></li>
  119. <li><a href="lists-formatting.html">Content formatting</a></li>
  120. <li><a href="lists-search.html">Search filter bar</a></li>
  121. <li><a href="lists-search-inset.html">Inset search filter bar</a></li>
  122. <li><a href="lists-search-with-dividers.html">Search filter bar with dividers</a></li>
  123. <li><a href="lists-search-filtertext.html">Search filter hidden data</a></li>
  124. <li data-theme="a"><a href="lists-readonly.html">Read-only lists</a></li>
  125. <li><a href="lists-readonly-inset.html">Read-only inset lists</a></li>
  126. <li><a href="lists-forms.html">Lists with forms</a></li>
  127. <li><a href="lists-forms-inset.html">Inset lists with forms</a></li>
  128. <li><a href="lists-inset.html">Inset styled lists</a></li>
  129. <li><a href="lists-performance.html">List performance test</a></li>
  130. <li><a href="lists-themes.html">Theming lists</a></li>
  131. </ul>
  132. </div>
  133. </div>
  134. </div><!-- /content -->
  135. <div data-role="footer" class="footer-docs" data-theme="c">
  136. <p>&copy; 2011-2012 The jQuery Project</p>
  137. </div>
  138. </div><!-- /page -->
  139. </body>
  140. </html>