-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgift_art.html
More file actions
74 lines (60 loc) · 1.78 KB
/
Copy pathgift_art.html
File metadata and controls
74 lines (60 loc) · 1.78 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>gift_art</title>
<script src='/client_management.js' type="module" class='marquee'></script>
</head>
<body>
<h1 class='marquee'>gift art by super epic people - </h1>
<p>the tldr is that any art i get i'll upload here :3<br>
please just note only first few will load, then after that you'll need to expand the dialog; just trying to save
some bandwidth is all :3 <br>
some of these are commissions but i'm poor so it's rare :'3 i'll try to remember to disclose when that's the case
</p>
<ol id='art_gallery'>
</ol>
<script type='module'>
function GEBI(id) {
return document.getElementById(String(id));
}
function CE(args = { //returns HTML element
"class": undefined,
"id": undefined,
"innerHTML": undefined,
"innerText": undefined,
"style": undefined,
"type": undefined,
"onClick": undefined,
}) {
try {
if (args.type == undefined) args.type == "div";
let elem = document.createElement(args.type);
if (args.class != undefined) elem.className = args.class;
if (args.id != undefined) elem.id = args.id;
if (args.innerHTML != undefined) elem.innerHTML = args.innerHTML;
if (args.innerText != undefined) elem.innerText = args.innerText;
if (args.style != undefined) elem.style = args.style;
if (args.onClick != undefined) {
//if (typeof args.onConfirm == 'function') {
elem.addEventListener(
"click",
args.onClick
)
//}
//else {
//console.warn("onclick is NOT a function, cannot bind!");;
//}
}
return (elem);
}
catch (err) {
console.warn(err);
}
};
for (let i = 0; i < list.length; ++i) {
}
</script>
</body>
</html>