-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (124 loc) · 6.58 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>KTM EduTech | Web Legal Frameworks</title>
<!-- Lightbox2 CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.3/css/lightbox.min.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="framework-styles.css" />
<script type="text/javascript">
/* =============================
This script generates sample text for the body content.
You can remove this script and any reference to it.
============================= */
var bodyText = [
"Remember, you are unique, just like everybody else.",
"Too much agreement kills a good chat.",
"Get your facts first, then you can distort them as you please.",
"I intend to live forever. So far, so good.",
"</p><p>A clear conscience is usually a sign of a bad memory.",
"What's another word for Thesaurus?",
"<h3>Heading</h3><p>Experience is something you don't get until just after you need it."
];
function generateText(sentenceCount) {
for (var i = 0; i < sentenceCount; i++) document.write(bodyText[Math.floor(Math.random() * 7)] + " ");
}
</script>
</head>
<body>
<header id="header">
<div id="logo">
<img src="https://picshack.net/ib/UwWmVL7Nj2.png" style="max-width: 100%" alt="Sample picture" />
</div>
<nav>
<div class="innertube">
<ul>
<li><a href="https://www.kydmasong.net" target="_blank">KTM EduTech</a></li>
</ul>
</div>
</nav>
</header>
<main>
<div class="innertube">
<h1
id="terms-and-conditions-last-updated-https-img-shields-io-badge-last-20updated-sep-205-2c-202024-207-3a16-20pm-blue-">
Web Legal Frameworks
</h1>
<!-- ADD THE WEB LEGAL FRAMEWORK HERE -->
<!-- Buttons to open lightboxes -->
<div class="button-container">
<button class="open-lightbox" data-lightbox="affiliate-disclosure">Affiliate Disclosure</button>
<button class="open-lightbox" data-lightbox="cookie-policy">Cookie Policy</button>
<button class="open-lightbox" data-lightbox="disclaimer">Disclaimer</button>
<button class="open-lightbox" data-lightbox="privacy-policy">Privacy Policy</button>
<button class="open-lightbox" data-lightbox="terms-and-conditions">Terms and Conditions</button>
</div>
<div class="button-container">
<a href="AffiliateDisclosure.html" target="_blank">Affiliate Disclosure</a> |
<a href="Disclaimer.html" target="_blank">Disclaimer</a> |
<a href="CookiePolicy.html" target="_blank">Cookie Policy</a> |
<a href="PrivacyPolicy.html" target="_blank">Privacy Policy</a> |
<a href="TermsAndConditions.html" target="_blank">Terms and Conditions</a>
</div>
<!-- Lightbox containers -->
<div id="lightbox-overlay" class="lightbox-overlay"></div>
<div id="affiliate-disclosure" class="lightbox-content">
<span class="close-lightbox">×</span>
<iframe src="AffiliateDisclosure.html" frameborder="0"></iframe>
</div>
<div id="cookie-policy" class="lightbox-content">
<span class="close-lightbox">×</span>
<iframe src="CookiePolicy.html" frameborder="0"></iframe>
</div>
<div id="disclaimer" class="lightbox-content">
<span class="close-lightbox">×</span>
<iframe src="Disclaimer.html" frameborder="0"></iframe>
</div>
<div id="index" class="lightbox-content">
<span class="close-lightbox">×</span>
<iframe src="index.html" frameborder="0"></iframe>
</div>
<div id="privacy-policy" class="lightbox-content">
<span class="close-lightbox">×</span>
<iframe src="PrivacyPolicy.html" frameborder="0"></iframe>
</div>
<div id="terms-and-conditions" class="lightbox-content">
<span class="close-lightbox">×</span>
<iframe src="TermsAndConditions.html" frameborder="0"></iframe>
</div>
<!-- ADD THE WEB LEGAL FRAMEWORK HERE -->
</div>
</main>
<!-- Lightbox2 JavaScript -->
<script>
// script.js
document.addEventListener("DOMContentLoaded", function () {
const buttons = document.querySelectorAll(".open-lightbox");
const overlay = document.getElementById("lightbox-overlay");
const lightboxContents = document.querySelectorAll(".lightbox-content");
const closeButtons = document.querySelectorAll(".close-lightbox");
buttons.forEach((button) => {
button.addEventListener("click", function () {
const targetId = this.getAttribute("data-lightbox");
const targetLightbox = document.getElementById(targetId);
if (targetLightbox) {
overlay.style.display = "block";
targetLightbox.style.display = "block";
}
});
});
closeButtons.forEach((button) => {
button.addEventListener("click", function () {
this.parentElement.style.display = "none";
overlay.style.display = "none";
});
});
overlay.addEventListener("click", function () {
lightboxContents.forEach((content) => {
content.style.display = "none";
});
this.style.display = "none";
});
});
</script>
</body>
</html>