-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresults.html
41 lines (36 loc) · 1022 Bytes
/
results.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
<!doctype html>
<html>
<head>
<style>
img {
display: inline-block;
align-self: center;
}
div {
display: flex;
padding: 10px;
flex-direction: column;
}
</style>
<script type="text/javascript">
window.addImages = function () {
const body = document.querySelector('body');
for (let i = 0; i < 473; i++) {
const div = document.createElement('div');
const h3 = document.createElement('h3');
h3.innerText = `${i}`;
div.appendChild(h3);
const libavifImg = document.createElement('img');
libavifImg.setAttribute('src', `./libavif/image-${i}.avif`);
div.append(libavifImg);
const libheifImg = document.createElement('img');
libheifImg.setAttribute('src', `./libheif/image-${i}.avif`);
div.append(libheifImg);
body.append(div);
}
}
</script>
</head>
<body onload="addImages()">
</body>
</html>