dialog.html 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>jQuery Mobile Framework - Dialog Example</title>
  7. <link rel="stylesheet" href="../../jquery.mobile-1.0.1.min.css" />
  8. <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
  9. <script src="../../jquery.js"></script>
  10. <script src="../../experiments/themeswitcher/jquery.mobile.themeswitcher.js"></script>
  11. <script src="../_assets/js/jqm-docs.js"></script>
  12. <script src="../../jquery.mobile-1.0.1.min.js"></script>
  13. </head>
  14. <body>
  15. <div data-role="page">
  16. <div data-role="header" data-theme="d">
  17. <h1>Dialog</h1>
  18. </div>
  19. <div data-role="content" data-theme="c">
  20. <h1>Delete page?</h1>
  21. <p>This is a regular page, styled as a dialog. To create a dialog, just link to a normal page and include a transition and <code>data-rel="dialog"</code> attribute.</p>
  22. <a href="docs-dialogs.html" data-role="button" data-rel="back" data-theme="b">Sounds good</a>
  23. <a href="docs-dialogs.html" data-role="button" data-rel="back" data-theme="c">Cancel</a>
  24. </div>
  25. </div>
  26. </body>
  27. </html>