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.

35 lines
1.6 KiB

12 years ago
12 years ago
  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" data-theme="a">
  13. <div data-role="header">
  14. <h1>jQuery Mobile</h1>
  15. </div>
  16. <div data-role="content">
  17. <ul data-role="listview" data-inset="true" data-divider-theme="b">
  18. <li data-role="list-divider">Summary</li>
  19. <li><a href="ch1.html">The Platform</a></li>
  20. <li><a href="cap2.html">The Page</a></li>
  21. <li><a href="cap3.html">Lists</a></li>
  22. <li><a href="cap4.html">Components</a></li>
  23. </ul>
  24. <ul data-role="listview" data-inset="true" data-divider-theme="d">
  25. <li data-role="list-divider">Links</li>
  26. <li><a href="http://www.mobilexweb.com">Mobile Web Blog</a></li>
  27. <li><a href="http://www.oreilly.com">O'Reilly Media</a></li>
  28. </ul>
  29. </div>
  30. <div data-role="footer">
  31. <h4>&copy; 2011 Maximiliano Firtman @firt</h4>
  32. </div>
  33. </div>
  34. </body>
  35. </html>