touchOverflow.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 Docs - Configuration</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>
  11. $(document).bind("mobileinit", function(){
  12. $.mobile.touchOverflowEnabled = true;
  13. });
  14. </script>
  15. <script src="../../experiments/themeswitcher/jquery.mobile.themeswitcher.js"></script>
  16. <script src="../_assets/js/jqm-docs.js"></script>
  17. <script src="../../jquery.mobile-1.0.1.min.js"></script>
  18. </head>
  19. <body>
  20. <div data-role="page" class="type-index">
  21. <div data-role="header" data-theme="f" data-position="fixed">
  22. <h1>Config applied</h1>
  23. <a href="../../" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
  24. </div><!-- /header -->
  25. <div data-role="content">
  26. <h2>touchOverflowEnabled is now active</h2>
  27. <p>The toolbar on this page should now be fixed, like a native toolbar. To test, hit the button below and browse the docs. Note that if a link causes a refresh, this setting will be lost and the default settings will be seen.</p>
  28. <a href="../../index.html" data-role="button" data-icon="arrow-r" data-iconpos="right">Browse docs</a>
  29. <a href="../pages/touchoverflow.html" data-role="button" data-icon="arrow-r" data-iconpos="right">touchOverflow docs</a>
  30. <h3>Some good pages to test out:</h3>
  31. <a href="../toolbars/bars-fixed.html" data-role="button" data-icon="arrow-r" data-iconpos="right">Fixed toolbars</a>
  32. <a href="../toolbars/bars-fullscreen.html" data-role="button" data-icon="arrow-r" data-iconpos="right">Fullscreen toolbars</a>
  33. <a href="../toolbars/footer-persist-a.html" data-role="button" data-icon="arrow-r" data-iconpos="right">Fixed persistent footer</a>
  34. <a href="../pages/page-dialogs.html" data-role="button" data-icon="arrow-r" data-iconpos="right">Dialogs &amp; transitions</a>
  35. </div><!-- /ui-body wrapper -->
  36. </div><!-- /page -->
  37. </body>
  38. </html>