-
Notifications
You must be signed in to change notification settings - Fork 0
/
lunar.php
129 lines (104 loc) · 3.02 KB
/
lunar.php
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<link href="plugins/booklet/jquery.booklet.latest.css" type="text/css" rel="stylesheet" media="screen, projection, tv" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script> window.jQuery || document.write('<script src="plugins/booklet/jquery-2.1.0.min.js"><\/script>') </script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<script src="plugins/booklet/jquery.easing.1.3.js"></script>
<script src="plugins/booklet/jquery.booklet.latest.min.js"></script>
<html>
<head>
<meta charset="UTF-8">
<title>希望的航行者&絕望的渡輪</title>
<?php
include('link.php');
?>
</head>
<body>
<div id="container" class="container">
<h2 style="text-align:center;padding-top:20px;">狐民曆</h2>
<img src="images/title.png" style="margin: -10px auto 10px; display:block;">
<div id="mybook">
<div>
<img src="plugins\booklet\images\lunar/cover1.png">
</div>
<div class="pbg">
<img src="plugins\booklet\images\lunar/list1.png">
</div>
<div>
<img src="plugins\booklet\images\lunar/list2.png">
</div>
<div class="pbg">
<img src="plugins\booklet\images\lunar/p1.png">
</div>
<div>
<img src="plugins\booklet\images\lunar/p2.png">
</div>
<div class="pbg">
<img src="plugins\booklet\images\lunar/p3.png">
</div>
<div>
<img src="plugins\booklet\images\lunar/p4.png">
</div>
<div class="pbg">
<img src="plugins\booklet\images\lunar/p5.png">
</div>
<div>
<img src="plugins\booklet\images\lunar/p6.png">
</div>
<div class="pbg">
<img src="plugins\booklet\images\lunar/p7.png">
</div>
<div>
<img src="plugins\booklet\images\lunar/p8.png">
</div>
<div class="pbg">
<img src="plugins\booklet\images\lunar/p9.png">
</div>
<div>
<img src="plugins\booklet\images\lunar/p10.png">
</div>
<div class="pbg">
<img src="plugins\booklet\images\lunar/p11.png">
</div>
<div>
<img src="plugins\booklet\images\lunar/p12.png">
</div>
<div class="pbg">
<img src="plugins\booklet\images\lunar/cover2.png">
</div>
</div>
</div>
</body>
</html>
<style type="text/css">
.pbg{
background-color:rgba(240,240,240,1);
}
#container{
height: 100vh;
top: 0px;
}
</style>
<script type="text/javascript">
if ($('#container').height() < $(window).height()) {
document.getElementById('container').style.height = "100vh";
}
</script>
<script type="text/javascript">
$(function() {
//single book
$('#mybook').booklet({
width: 730,
height: 520,
pageNumbers: false,
closed: true,
autoCenter: true,
arrows: true,
pagePadding: 0,
speed: 300
});
$('#mybook1, #mybook2').booklet();
//multiple books with a class
$('.mycustombooks').booklet();
});
</script>