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.

28 lines
1.2 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="page1">
  13. <div data-role="header" data-position="fixed">
  14. <a href="" data-icon="delete">Cancel</a>
  15. <h1>New record</h1>
  16. <a href="" data-icon="check" data-theme="b">Save</a>
  17. </div>
  18. <div data-role="content">
  19. </div>
  20. <div data-role="footer" data-position="fixed" class="ui-bar">
  21. <a href="" data-icon="refresh">Refresh</a>
  22. <a href="">Filter</a>
  23. <a href="" data-icon="search">Search</a>
  24. <a href="" data-theme="b">New item</a>
  25. </div>
  26. </div>
  27. </body>
  28. </html>