-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
111 lines (96 loc) · 2.66 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
100
101
102
103
104
105
106
107
108
109
110
111
<html>
<head>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js/jquery.event.move.min.js "></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js/jquery.twentytwenty.min.js"></script>
<link href=" https://cdn.jsdelivr.net/npm/[email protected]/css/twentytwenty.min.css" rel="stylesheet">
<style>
.wrapper {
max-width: 80%;
margin: auto;
display: flex;
flex-direction: column;
}
.wrapper div {
display: block;
}
.twentytwenty-overlay {
width: fit-content;
}
.zoom {
margin: 10px;
}
.zoom > img {
max-width: 80%;
}
</style>
</head>
<body>
<p>Left image is a real Lilo pulled from a fresh booster. Right image is a traded one</p>
<div class="wrapper">
<h1>Rarity Icon</h1>
<div class="twentytwenty-container">
<img src="img/RareIcon_R.png" />
<img src="img/RareIcon_F.png" />
</div>
<h1>Color and Artist Icon</h1>
<div class="twentytwenty-container">
<img src="img/LRCorner_R.png" />
<img src="img/LRCorner_F.png" />
</div>
<h1>Color Icon</h1>
<div class="twentytwenty-container">
<img src="img/color_R.jpg" />
<img src="img/color_F.jpg" />
</div>
<h1>Ink Symbol</h1>
<div class="twentytwenty-container">
<img src="img/Ink_R.png" />
<img src="img/Ink_F.png" />
</div>
<h1>Art</h1>
<div class="twentytwenty-container">
<img src="img/art_R.png" />
<img src="img/art_F.png" />
</div>
<h1>Back Top</h1>
<div class="twentytwenty-container">
<img src="img/backTop_R.png" />
<img src="img/backTop_F.png" />
</div>
<h1>Wide View</h1>
<div class="zoom">
<img src="img/sbs1.png" />
</div>
<div class="zoom">
<img src="img/sbs2.png" />
</div>
<div class="zoom">
<img src="img/sbs3.jpg" />
</div>
<div class="zoom">
<img src="img/sbs4.jpg" />
</div>
<div class="zoom">
<img src="img/sbs5.jpg" />
</div>
<div class="zoom">
<img src="img/sbs6.jpg" />
</div>
</div>
<script>
$(function () {
$(".twentytwenty-container").twentytwenty({
before_label: 'Real', // Set a custom before label
after_label: 'Fake', // Set a custom after label
});
var options = {
fillContainer: true,
};
$(".zoom").each(element => {
new ImageZoom(element, options);
});
});
</script>
</body>
</html>