transition-success.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="e">
  17. <h1>Ta-da!</h1>
  18. </div><!-- /header -->
  19. <div data-role="content" data-theme="e">
  20. <p>That was an animated page transition effect that we added with a <code>data-transition</code> attribute on the link.</p>
  21. <p>Since it uses CSS transforms, this should be hardware accelerated on many mobile devices.</p>
  22. <p>What do you think?</p>
  23. <a href="docs-transitions.html" data-role="button" data-theme="b" data-rel="back">I like it</a>
  24. </div>
  25. </div>
  26. </body>
  27. </html>