-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathexample_slow.html
71 lines (61 loc) · 2.59 KB
/
example_slow.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>jquery.mobile.fastButtons.js Example - With jquery.mobile.fastButtons</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css">
<meta name="viewport" content="width=device-width">
</head>
<body>
<div data-role="page" id="slow1">
<div data-role="header" data-id="header" data-position="fixed" data-tap-toggle="false">
<a href="index.html" data-ajax="false">Back to Metrics</a>
<h1>jquery.mobile.fastButtons.js Slow Example Page 1</h1>
</div><!-- /header -->
<div data-role="content">
<h2>This Page Does NOT Implement jquery.mobile.fastButtons</h2>
<p>
That click event should have been the default jQuery Mobile click event, which is very slow in environments like iOS.
</p>
<p>
You can transition back again using the button below, or try the fast example page again below to compare.
</p>
<br /><br />
<a href="#slow2" data-role="button">Go to a new page slowly...</a>
<br /><br /><br /><br />
<h2>Want to see what the fast way is like again?</h2>
<p>
Click the button below to go to the example page that does implement jquery.mobile.fastButtons.
</p>
<br />
<a href="example_fast.html" data-ajax="false" data-role="button">Go to the fast example page</a>
</div><!-- /content -->
</div><!-- /page -->
<div data-role="page" id="slow2">
<div data-role="header" data-id="header" data-position="fixed" data-tap-toggle="false">
<a href="index.html" data-ajax="false">Back to Metrics</a>
<h1>jquery.mobile.fastButtons.js Slow Example Page 2</h1>
</div><!-- /header -->
<div data-role="content">
<h2>This Page Does NOT Implement jquery.mobile.fastButtons</h2>
<p>
This html file is using the default slow click event from jQuery Mobile.
</p>
<p>
Try transitioning to another page using a button that has not been modified by jquery.mobile.fastButtons.
</p>
<br /><br />
<a href="#slow1" data-role="button">Go to a new page slowly...</a>
<br /><br /><br /><br />
<h2>Want to see what the fast way is like again?</h2>
<p>
Click the button below to go to the example page that does implement jquery.mobile.fastButtons.
</p>
<br />
<a href="example_fast.html" data-ajax="false" data-role="button">Go to the fast example page</a>
</div>
</div><!-- /page -->
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.js"></script>
</body>
</html>