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.

61 lines
2.9 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" data-position="fixed">
  14. <h1>Nested collapsible content</h1>
  15. </div>
  16. <div data-role="content">
  17. <div data-role="collapsible">
  18. <h2>Rome</h2>
  19. <div data-role="collapsible">
  20. <h3>History</h3>
  21. <p>
  22. There is archaeological evidence of human occupation in the Rome area
  23. from at least 14,000 years, but the dense layer of much younger debris
  24. obscures Palaeolithic and Neolithic sites.[11] Evidence of stone tools,
  25. pottery ans stone weapons attest to at least 10,000 years of human presence.
  26. </p>
  27. </div>
  28. <div data-role="collapsible" >
  29. <h3>Government of Rome</h3>
  30. <p>
  31. Rome constitutes one of Italy's 8,101 communes, and is the largest both
  32. in terms of land area and population. it is governed by a mayor, currently
  33. Gianni Alemanno, and a city council.
  34. </p>
  35. </div>
  36. </div>
  37. <div data-role="collapsible" >
  38. <h2>Madrid</h2>
  39. <div data-role="collapsible">
  40. <h3>History</h3>
  41. <p>
  42. Although the site of modern-day Madrid has been occupied since pre-historic
  43. times,[23] in the Roman era this territory belonged to the diocese of
  44. Complutum (present-day Alcalá de Henares).
  45. </p>
  46. </div>
  47. <div data-role="collapsible" >
  48. <h3>Government of Rome</h3>
  49. <p>
  50. The City Council consists of 57 members, one of them being the Mayor, currently
  51. Alberto Ruiz-Callardón Jiménez. The Mayor presides over the Council.
  52. </p>
  53. </div>
  54. </div>
  55. </div>
  56. <div data-role="footer" data-position="fixed">
  57. <h1>www.goodcleanfun.de</h1>
  58. </div>
  59. </div>
  60. </body>
  61. </html>