-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain_20240117.js
73 lines (73 loc) · 2.23 KB
/
main_20240117.js
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
// 2024.01.17
var linksData = [
{
title: 'TypeScript : index.html to List Web Pages (2024.01.17)',
url: '',
comment: 'This page'
},
{
title: 'TypeScript : Touch Event Practice (2024.01.16)',
url: '../TypeScript/TouchScreenExample.html',
comment: ''
},
{
title: 'VBScript : Web Calculator (2023.10.14)',
url: '../VBScript/VbsCalculator.html',
comment: 'It requires enabling script execution in Internet Explorer mode'
},
{
title: 'VBScript : Hello World (2023.10.14)',
url: '../VBScript/VbsHelloWorld.html',
comment: 'It requires enabling script execution in Internet Explorer mode'
},
{
title: 'CSS : Mouse Cursor Customization 2 (2023.02.06)',
url: '../CSS/Cursor2.html',
comment: ''
},
{
title: 'CSS : Mouse Cursor Customization (2023.01.29)',
url: '../CSS/Cursor.html',
comment: ''
},
{
title: 'Bootstrap : Magic Stick (2022.01.28)',
url: '../Bootstrap/BootstrapMagicStick.html',
comment: ''
},
{
title: 'JavaScript : Dove\'s Step 1 (2022.01.13)',
url: '../JavaScript/DoveStep.html',
comment: ''
},
{
title: 'JavaScript : Script Tag\'s Location (2022.01.02)',
url: '../JavaScript/ScriptWithDefer.html',
comment: ''
},
{
title: 'JavaScript : Colorful Show (2020.03.04)',
url: '../JavaScript/ColorfulShow.html',
comment: ''
},
{
title: 'JavaScript : Ganzi (2017.04.03)',
url: '../JavaScript/Ganzi.html',
comment: ''
}
];
document.addEventListener('DOMContentLoaded', function () {
var linksContainer = document.getElementById('linksContainer');
if (linksContainer) {
linksData.forEach(function (link) {
var linkItem = document.createElement('div');
linkItem.classList.add('link-item');
var linkAnchor = document.createElement('a');
linkAnchor.href = link.url;
linkAnchor.textContent = link.title;
linkAnchor.target = '_blank';
linkItem.appendChild(linkAnchor);
linksContainer.appendChild(linkItem);
});
}
});