-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpage2.html
More file actions
43 lines (38 loc) · 1.17 KB
/
page2.html
File metadata and controls
43 lines (38 loc) · 1.17 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no, interactive-widget=resizes-content">
<script src="../js/util.js" inline></script>
<style>
body {
margin: 20px;
margin-left: 0px;
overflow: hidden;
background: #17026b;
color: #f6f6f6;
font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
opacity: 0;
}
div {
margin-bottom: 16px;
padding: 12px;
border-radius: 6px;
}
canvas {
display: block;
}
</style>
</head>
<body>
<div>[Using Method #2]</div>
<div>Section visible first</div>
<script defer src="https://cdn.jsdelivr.net/npm/three@0.154.0/build/three.min.js"
onload="window.library1Loaded = true; document.dispatchEvent(new Event('library1Loaded'))"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"
onload="window.library2Loaded = true; document.dispatchEvent(new Event('library2Loaded'))"></script>
<link rel="stylesheet" href="../css/common.css" inline>
<script src="../js/page2.js" inline></script>
</body>
</html>