-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
112 lines (84 loc) · 1.98 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
<!-- Dedicated to God the Father -->
<!-- All Rights Reserved Christopher Andrew Topalian Copyright 2000-2025 -->
<!-- https://github.com/ChristopherTopalian -->
<!-- https://github.com/ChristopherAndrewTopalian -->
<!-- index.html -->
<html>
<head>
<title> index </title>
<style>
body
{
background-color: rgb(0, 0, 0);
font-family: Arial;
color: rgb(255, 255, 255);
}
</style>
<script>
// shortcuts.js
function ge(whichId)
{
let result = document.getElementById(whichId);
return result;
}
function ce(whichType)
{
let result = document.createElement(whichType);
return result;
}
function ba(whichElement)
{
let result = document.body.append(whichElement);
return result;
}
function cl(whichMessage)
{
let result = console.log(whichMessage);
return result;
}
function ct(whichText)
{
let result = document.createTextNode(whichText);
return result;
}
function gr(whichId)
{
let result = ge(whichId).getBoundingClientRect();
return result;
}
//----//
// Dedicated to God the Father
// All Rights Reserved Christopher Andrew Topalian Copyright 2000-2025
// https://github.com/ChristopherTopalian
// https://github.com/ChristopherAndrewTopalian
// https://sites.google.com/view/CollegeOfScripting
//-//
function makeAppLink()
{
let theLink = 'CATopalian_HTML_JavaScript_Editor.html';
let mainDiv = ce('div');
mainDiv.style.display = 'flex';
mainDiv.style.flexDirection = 'column';
mainDiv.style.margin = 10 + 'px';
ba(mainDiv);
//-//
let instructions = ce('div');
instructions.textContent = 'Click on the Link Below to Open the Application';
mainDiv.append(instructions);
//-//
let appLink = ce('a');
appLink.href = theLink;
appLink.textContent = 'Start Application';
appLink.style.fontSize = 50 + 'px';
appLink.style.fontWeight = 'bold';
mainDiv.append(appLink);
}
function whenLoaded()
{
makeAppLink();
}
</script>
</head>
<body onload = 'whenLoaded();'>
</body>
</html>