summaryrefslogtreecommitdiff
path: root/tests/samples/change-page/index.html
blob: 3c57595272c0ad3170ac044aa0e55f008b3bd0bd (plain)
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
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8" >
	<script src="tizen-web-ui-fw/latest/js/jquery.js"></script>
	<script src="configure.js"></script>
	<script src="tizen-web-ui-fw/latest/js/tizen-web-ui-fw-libs.js"></script>
	<script src="tizen-web-ui-fw/latest/js/tizen-web-ui-fw.js"
		data-framework-viewport-scale=false>
	</script>
	<script src="main.js"></script>

	<title>Change Page & Back</title>
</head>

<body>
	<div data-role="page">
		<div data-role="header" data-position="fixed">
			<h1>First Page</h1>
		</div>
		<div data-role="content">
			<p> Page Transition : None </p>
			<a data-role="button" id="change">Move Page via '$.mobile.changePage()' </a>
		</div>
	</div>

	<div data-role="page" id="secondPage">
		<div data-role="header" data-position="fixed">
			<h1>Second Page</h1>
		</div>
		<div data-role="content">
			<a data-role="button" id="back">Back via 'history.back()'</a>
		</div>
	</div>
</body>
</html>