|
| 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>Page Events - jQuery Mobile Demos</title> |
| 7 | + <link rel="shortcut icon" href="../favicon.ico"> |
| 8 | + <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700"> |
| 9 | + <link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css"> |
| 10 | + <link rel="stylesheet" href="../_assets/css/jqm-demos.css"> |
| 11 | + <script src="../../external/jquery/jquery.js"></script> |
| 12 | + <script src="../_assets/js/"></script> |
| 13 | + <script src="../../js/"></script> |
| 14 | + <script src="https://rawgithub.com/arschmitz/jquery-mobile-event-debugger/v0.0.3/jquery.mobile.event.debugger.js"></script> |
| 15 | + <script> |
| 16 | + $.mobile.eventLogger({ |
| 17 | + deprecated: true, |
| 18 | + showAlert: true, |
| 19 | + events: { |
| 20 | + page: true |
| 21 | + }, |
| 22 | + widgets: { |
| 23 | + page: true, |
| 24 | + pagecontainer: true |
| 25 | + } |
| 26 | + }); |
| 27 | + </script> |
| 28 | +</head> |
| 29 | +<body> |
| 30 | +<div data-role="page" class="jqm-demos" data-quicklinks="true"> |
| 31 | + |
| 32 | + <div data-role="header" class="jqm-header"> |
| 33 | + <h2><a href="../" title="jQuery Mobile Demos home"><img src="../_assets/img/jquery-logo.png" alt="jQuery Mobile"></a></h2> |
| 34 | + <p><span class="jqm-version"></span> Demos</p> |
| 35 | + <a href="#" class="jqm-navmenu-link ui-btn ui-btn-icon-notext ui-corner-all ui-icon-bars ui-nodisc-icon ui-alt-icon ui-btn-left">Menu</a> |
| 36 | + <a href="#" class="jqm-search-link ui-btn ui-btn-icon-notext ui-corner-all ui-icon-search ui-nodisc-icon ui-alt-icon ui-btn-right">Search</a> |
| 37 | + </div><!-- /header --> |
| 38 | + <div id="popup" data-role="popup"> |
| 39 | + Popup |
| 40 | + </div> |
| 41 | + <div role="main" class="ui-content jqm-content"> |
| 42 | + |
| 43 | + <h1>navigate between pages and open and close panel and popup widgets to see which events fire and their data</h1> |
| 44 | + <a class="ui-btn ui-corner-all ui" href="alertevents-2.php">Go To Page 2</a> |
| 45 | + <a class="ui-btn ui-corner-all ui" href="alertevents-3.php">Go To Page 3</a> |
| 46 | + <a class="ui-btn ui-corner-all ui" href="foo.html">Go To Page that does not exist</a> |
| 47 | + <a class="ui-btn ui-corner-all ui" data-rel="popup" href="#popup">Open Popup</a> |
| 48 | + <label for="select">Select Menu</label> |
| 49 | + <select id="select" data-native-menu="false"> |
| 50 | + <option>foo</option> |
| 51 | + <option>bar</option> |
| 52 | + </select> |
| 53 | + |
| 54 | + </div><!-- /content --> |
| 55 | + |
| 56 | + <?php include( '../jqm-navmenu.php' ); ?> |
| 57 | + |
| 58 | + <div data-role="footer" data-position="fixed" data-tap-toggle="false" class="jqm-footer"> |
| 59 | + <p>jQuery Mobile Demos version <span class="jqm-version"></span></p> |
| 60 | + <p>Copyright 2014 The jQuery Foundation</p> |
| 61 | + </div><!-- /footer --> |
| 62 | + |
| 63 | +<?php include( '../jqm-search.php' ); ?> |
| 64 | + |
| 65 | +</div><!-- /page --> |
| 66 | + |
| 67 | +</body> |
| 68 | +</html> |
0 commit comments