-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprogram.html
More file actions
39 lines (30 loc) · 1.04 KB
/
Copy pathprogram.html
File metadata and controls
39 lines (30 loc) · 1.04 KB
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
<!doctype html>
<html>
<head>
<title>jQuery Mobile bug report</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" href="http://code.jquery.com/mobile/latest/jquery.mobile.min.css"/>
</head>
<body>
<div id="outer-container" data-role="page">
<div class="summary">
<h1>Programs</h1>
</div>
<h2>Current Programs</h2>
<a href="show1.html" data-ajax="false">Program 1</a><br/>
<a href="show2.html" data-ajax="false">Program 2</a>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script src="http://code.jquery.com/mobile/latest/jquery.mobile.js"></script>
<script>
$(document).bind("pagebeforechange", function(e, data) {
console.log('ooh, a pagebeforechange event!');
});
$(document).bind("pagechange", function(e, data) {
console.log('ooh, a pagechange event!');
});
$(document).bind("pagechangefailed", function(e, data) {
console.log('yuck, a pagechangefailed event!');
});
</script>
</body>
</html>