-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (41 loc) · 1.55 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
40
41
42
43
44
45
46
47
48
49
<html>
<head>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta content='width=device-width, initial-scale=1.0 maximum-scale=1.0 user-scalable=0' name='viewport' />
<meta name="viewport" content="width=device-width" />
<!-- // <script src="http://10.244.36.242:8080/target/target-script-min.js#anonymous"></script> -->
<link rel="stylesheet" href="css/app.css"></link>
<script src="js/zepto-1.0.rc.js" ></script>
<script src="js/zepto-onpress.js" ></script>
<script src="js/pinchcard.js" ></script>
<script>
$(document).ready(function(){
var p = new PinchCard('.stage')
$(".card").bind({
openPanel: function(e) {
console.log("Open ", e.target.innerHTML)
},
closePanel: function(e) {
console.log("Close ", e.target.innerHTML)
}
});
});
</script>
</head>
<body>
<div class="stage">
<div class="card">Item 1</div>
<div class="card">Item 2</div>
<div class="card">Item 3</div>
<div class="card">Item 4</div>
<div class="card">Item 5</div>
<div class="card">Item 6</div>
<div class="card">Item 7</div>
<div class="card">Item 8</div>
<div class="card">Item 9</div>
<div class="card">Item 10</div>
<div class="card">Item 11</div>
</div>
</body>
</html>