-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathlilacindex.html
48 lines (42 loc) · 1.15 KB
/
lilacindex.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Classroom</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./ABC.js"></script>
<style>
body {
background-color: #d8b9ff;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
text-align: center;
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
</style>
</head>
<body>
<script>
window.onload = function() {
// Creates new ABC
var page = new ABC({
"type": "blank", // Blank, blob, or overwrite
"url": "lilac.html" // Local file path
});
// Set the type
page.setType("blank");
// Set the local file path
page.setUrl("./lilac.html");
// Get iframe code
console.log(page.getCode());
// Open page
page.open();
};
</script>
</body>
</html>