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.

42 lines
1.7 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>Collapsible sets</h1>
  15. </div>
  16. <div data-role="content">
  17. <div data-role="collapsible-set">
  18. <div data-role="collapsible" data-collapsed="false">
  19. <h2>Books</h2>
  20. <ul>
  21. <li>Programming the Mobile Web</li>
  22. <li>jQuery Mobile: Up and Running</li>
  23. <li>Mobile HTML5</li>
  24. </ul>
  25. </div>
  26. <div data-role="collapsible">
  27. <h2>Talks</h2>
  28. <ul>
  29. <li>Velocity Conference</li>
  30. <li>OSCON</li>
  31. <li>Mobile World Congress</li>
  32. <li>Google DevFest</li>
  33. </ul>
  34. </div>
  35. </div>
  36. </div>
  37. <div data-role="footer" data-position="fixed">
  38. <h1>www.goodcleanfun.de</h1>
  39. </div>
  40. </div>
  41. </body>
  42. </html>