-
Notifications
You must be signed in to change notification settings - Fork 14
/
index.html
99 lines (95 loc) · 4.12 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
<meta name="format-detection"content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<title>再见,北京地铁2元的风景</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/modernizr.2.5.3.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/basic.css"/>
</head>
<body>
<div class="flipbook-viewport" style="display:none;">
<div class="container">
<div class="flipbook">
<div style="background:url(image/0.jpg) center top no-repeat;background-size:100%">
</div>
<div style="background:url(image/112504538.jpg) center top no-repeat;background-size:100%">
</div>
<div style="background:url(image/1.jpg) center top no-repeat;background-size:100%">
</div>
<div style="background:url(image/2.jpg) center top no-repeat;background-size:100%">
</div>
<div style="background:url(image/112504530.jpg) center top no-repeat;background-size:100%">
</div>
<div id="fth" style="background:url(image/4.jpg) center top no-repeat;background-size:100%">
</div>
<div style="background:url(image/5.jpg) center top no-repeat;background-size:100%">
</div>
<div style="background:url(image/112504533.jpg) center top no-repeat;background-size:100%">
</div>
<div id="sevth" style="background:url(image/7.jpg) center top no-repeat;background-size:100%">
</div>
<div id="tenth" style="background:url(image/112504535.jpg) center top no-repeat;background-size:100%">
</div>
<div style="background:url(image/112504477.jpg) center top no-repeat;background-size:100%">
</div>
<div id="last" style="background:url(image/zuihou.jpg) center top no-repeat;background-size:100%">
</div>
<div id="nnn" style="background:url(image/fengdi3.jpg) center top no-repeat;background-size:100%">
</div>
</div>
</div>
</div>
<div id="end" style="display:none;width:100%;height:100%;background:url(image/fengdi3.jpg) center top no-repeat;background-size:100%">
<div id="btns">
<a style="margin-bottom:40px;" href="index.html" id="rewatch">再看一遍</a>
<button class="share_btn" style="margin-bottom:200px;" data-title="再见,北京地铁2元的风景" data-url="" data-des="地铁终点站外,是遥远的风景;也是疲惫的人们,北京的家。" data-pic="image/minilogo.png">分享给好友</button>
</div>
</div>
<script type="text/javascript">
$(function progressbar(){
var w = $(".graph").width();
$(".flipbook-viewport").show();
});
//屏蔽ios下上下弹性
$(window).on('scroll.elasticity', function (e) {
e.preventDefault();
}).on('touchmove.elasticity', function (e) {
e.preventDefault();
});
function loadApp() {
var w=$(window).width();
var h=$(window).height();
$('.flipboox').width(w).height(h);
$(window).resize(function(){
w=$(window).width();
h=$(window).height();
$('.flipboox').width(w).height(h);
});
$('.flipbook').turn({
// Width
width:w,
// Height
height:h,
// Elevation
elevation: 50,
display :'single',
// Enable gradients
gradients: true,
// Auto center this flipbook
autoCenter: true
});
}
yepnope({
test : Modernizr.csstransforms,
yep: ['js/turn.js'],
complete: loadApp
});
</script>
</body>
</html>