-
Notifications
You must be signed in to change notification settings - Fork 1
/
test-y-axis.html
68 lines (64 loc) · 2.5 KB
/
test-y-axis.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
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no" >
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8" >
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<style>
/* overthrow layout enhancements */
/* Enable overflow: auto on elements with overthrow class when html element has overthrow class too */
.overthrow-enabled .overthrow {
overflow: auto;
}
</style>
<link rel="stylesheet" href="./libs/jquery.mobile-1.2.0/jquery.mobile-1.2.0.min.css" />
<link rel="stylesheet" href="./virtualgrid/namecard.css" />
<script src="./libs/overthrow.js"></script>
<script src="./libs/jquery-1.8.2.js"></script>
<script src="./libs/jquery.mobile-1.2.0/jquery.mobile-1.2.0.js"></script>
<script src="./virtualgrid/jquery.mobile.virtualgrid.js"></script>
<title>Virtualgrid - Overthrow</title>
</head> <!-- HEAD -->
<body>
<div id="virtualgrid_grid_page" data-scroll="no" data-role="page" class="virtualgrid_grid_demo_page">
<div id="normal" data-role="header" data-position="fixed">
<h1>Virtual Grid - Overthrow </h1>
<a href="../../intro.html" data-icon="home" data-iconpos="notext" data-direction="reverse">Home</a>
</div>
<div data-role="content" data-scroll="none">
<script id="tizen-demo-namecard" type="text/x-jquery-tmpl">
<div class="ui-demo-rotation-namecard">
<div class="ui-demo-namecard-pic">
<img class="ui-demo-namecard-pic-img" src="${TEAM_LOGO}" />
</div>
<div class="ui-demo-namecard-contents">
<span class="name ui-li-text-main">${NAME}</span>
</div>
</div>
</script>
<div id="virtualgrid-demo" data-role="virtualgrid" data-rotation="false" data-template="tizen-demo-namecard">
</div>
</div>
<div id="normal" data-role="footer" data-position="fixed">
<h1>Footer</h1>
</div>
<script>
$( ".virtualgrid_grid_demo_page" ).one( "pagecreate", function() {
$.getScript( "./virtualgrid/virtualgrid-db-demo.js", function( data, textStatus, jqXHR ) {
$( ".virtualgrid_demo_page" ).die();
$( ":jqmData(role='virtualgrid')" ).virtualgrid( "create", {
itemData: function ( idx ) {
return JSON_DATA[ idx ];
},
numItemData: JSON_DATA.length,
cacheItemData: function ( minIdx, maxIdx ) {
}
});
$( ".virtualgrid_grid_demo_page" ).unbind("pagecreate");
});
});
</script>
</div>
</body> <!-- BODY -->
</html>