-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (42 loc) · 1.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ebook-WoodiWood</title>
<link rel="stylesheet" href="style.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="turn.js"></script>
</head>
<body>
<div class="wrapper">
<div class="aspect">
<div class="aspect-inner">
<iframe src="https://online.anyflip.com/nmjwg/xcap/index.html" style="position:fixed; top:0; left:0; bottom:0; right:0; width:100%; height:100%; border:none; margin:0; padding:0; overflow:hidden; z-index:999999;">
Your browser doesn't support iframes
</iframe>
<!-- <div class="flipbook" id="flipbook">
</div> -->
</div>
</div>
</div>
<!-- <script>
function addDiv(num1) {
$('#flipbook').append('<div class="page"><img src="images/' + num1 + '.jpg" draggable="false" alt="" /></div>');
}
for (let i = 1; i <= 74; i++) {
addDiv(i);
}
var flipbookEL = document.getElementById('flipbook');
window.addEventListener('resize', function(e) {
flipbookEL.style.width = '';
flipbookEL.style.height = '';
$(flipbookEL).turn('size', flipbookEL.clientWidth, flipbookEL.clientHeight);
});
$(flipbookEL).turn({
autoCenter: true
});
</script> -->
</body>
</html>