-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
39 lines (39 loc) · 1.69 KB
/
index.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
<html>
<head>
<title>Change Page Example</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="style.css">
<script src="jquery-2.1.3.min.js"></script>
<script src="script.js"></script>
</head>
<body>
<script>
// You can still do this with pure Javscript: http://stackoverflow.com/questions/9899372/pure-javascript-equivalent-to-jquerys-ready-how-to-call-a-function-when-the -->
$(document).ready(function() {
app.initialize();
});
</script>
<section class="page" id="page1">
<div class="content">
<div class="info">This the home screen</div>
<button class="growContent">Click me to grow</button>
<button class="changePage" data-next-page="#page2">Go to next page</button>
</div>
</section>
<section class="page" id="page2">
<div class="content">
<div class="info">This is the second screen</div>
<button class="growContent">Click me to grow</button>
<button class="changePage" data-next-page="#page3">Go to next page</button>
<button class="center js-moveMe">Click me to move me left</button>
</div>
</section>
<section class="page" id="page3">
<div class="content">
<div class="info">This is the third screen</div>
<button class="growContent">Click me to grow</button>
<button class="changePage">Go to next page</button>
</div>
</section>
</body>
</html>