Learning by doing: Reading books and trying to understand the (code) examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.3 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>My first jQuery Mobile code</title>
  6. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css">
  7. <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
  8. <script type="text/javascript" src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. </head>
  11. <body>
  12. <div data-role="page" id="home">
  13. <div data-role="header">
  14. <h1>list with count bubbles & search filter</h1>
  15. </div>
  16. <div data-role="content">
  17. <ul data-role="listview" data-filter="true" data-filter-placeholder="Search folders ...">
  18. <li>
  19. <a href="inbox.html">Inbox
  20. <span class="ui-li-count">4</span></a>
  21. </li>
  22. <li>
  23. <a href="sent.html">Sent
  24. <span class="ui-li-count">13</span></a>
  25. </li>
  26. <li>
  27. <a href="trash.html">Trash
  28. <span class="ui-li-count">128</span></a>
  29. </li>
  30. </ul>
  31. </div>
  32. <div data-role="footer">
  33. <h1>www.goodcleanfun.de</h1>
  34. </div>
  35. </div>
  36. </body>
  37. </html>