-
Notifications
You must be signed in to change notification settings - Fork 88
/
hamdash.html
845 lines (765 loc) · 24.7 KB
/
hamdash.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="VA3HDL Ham Radio Dashboard">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css?family=Victor Mono|Audiowide|Bebas Neue"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@100..900&display=swap"
rel="stylesheet"
/>
<title>Ham Radio Dashboard</title>
<!--
Hamdash
License: MIT
Copyright (c) 2024 Pablo Sabbag, VA3HDL
https://www.va3hdl.com/projects/hamdash
Credits:
Project inspired by the concept of DAVID A GOLD callsign N2MXX published at https://nject.us/HAMSHACK-DASHBOARD-O.html
--
.d8888. d888888b db db db d88888b .d8888.
88' YP `~~88~~' `8b d8' 88 88' 88' YP
`8bo. 88 `8bd8' 88 88ooooo `8bo.
`Y8b. 88 88 88 88~~~~~ `Y8b.
db 8D 88 88 88booo. 88. db 8D
`8888Y' YP YP Y88888P Y88888P `8888Y'
-->
<style>
body {
background: black;
font-size: 100%;
max-width: 100%;
overflow-x: hidden;
}
.iframe-container {
background-color: black;
left: 0px;
border: 0px none;
height: 100%;
position: fixed;
width: 100%;
bottom: 0px;
z-index: -2;
}
.img-zoom {
background-color: black;
left: 0px;
border: 0px none;
height: 100%;
position: fixed;
width: 100%;
overflow: hidden;
bottom: 0px;
z-index: -2;
}
/* Style for the fullscreen container (menu options) */
.full-screen {
height: 100%;
border: 0px none;
width: 100%;
margin-bottom: 0px;
margin-left: 0px;
-ms-zoom: 1;
-moz-transform: scale(1);
-moz-transform-origin: 0 0;
-o-transform: scale(1);
-o-transform-origin: 0 0;
-webkit-transform: scale(1);
-webkit-transform-origin: 0 0;
}
.default-frame {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
left: 0px;
border: 0px none;
height: 100%;
position: fixed;
width: 100%;
overflow: hidden;
bottom: 0px;
}
.top-bar {
display: grid;
grid-template-columns: 2fr 1fr 2fr;
background-color: #333;
color: #fff;
padding: 1vh;
border: 0px none;
overflow: hidden;
position: relative;
width: auto;
}
.child {
position: relative;
display: grid;
border: 1px solid hsl(210deg 8% 50%);
border-radius: 5px;
background: hsl(210deg 15% 20%);
color: white;
padding: 0.5vh;
font-family: "Victor Mono", sans-serif;
font-size: 1.4vw;
}
/* Default variables values for grid layout 4 cols x 3 rows */
:root {
--main-layout: auto auto auto auto;
--main-width: 24.9vw;
--main-height: 31vh;
}
/* Style for the dashboard container */
.dashboard {
display: grid;
grid-template-columns: var(--main-layout);
grid-gap: 0px;
border: 0px none;
margin-bottom: 0px;
overflow: hidden;
position: relative;
width: 100%;
}
/* Style for the image container */
.image-container {
position: relative;
float: inline-start;
margin-right: 0px;
border: 0px;
width: var(--main-width);
height: var(--main-height);
overflow: hidden;
display: flex;
justify-content: center; /* Horizontal centering */
align-items: center; /* Vertical centering */
}
.iframe-tile {
position: absolute; /* it must be absolute */
float: inline-start;
overflow: hidden;
display: flex;
border: none;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
/* Style for the image */
.image-container img {
height: 100%;
width: 100%;
}
/* Style for the image titles */
.image-title {
position: absolute;
top: 6%;
left: 50%;
transform: translate(-50%, -50%);
color: white; /* font color */
background-color: black;
font-size: 1vw;
border-left: 0.25vw solid black;
border-right: 0.25vw solid black;
font-family: "Roboto Condensed", sans-serif;
font-optical-sizing: auto;
font-weight: 300;
font-style: normal;
padding-top: 1px;
}
/* Style for the full screen image */
.image-large {
display: block;
position: relative;
margin-left: auto;
margin-right: auto;
max-width: 100%;
max-height: 100%;
width: auto;
height: 100%;
}
.media {
width: 100%;
height: 100%;
cursor: pointer;
}
.hidden {
display: none;
}
/* Style for the left menu options */
.menu {
display: grid;
grid-gap: 3px;
position: absolute;
width: auto;
height: auto;
margin-top: 10vh;
left: calc(-5.2vw - 0px);
z-index: 2;
transition: 0.3s;
}
/* Style for the right menu options */
.menuR {
display: grid;
grid-gap: 3px;
position: absolute;
width: 30px;
height: auto;
margin-top: 10vh;
right: -5px;
z-index: 2;
transition: 0.3s;
}
#myMenu:hover {
width: 7vw;
left: 0px;
}
#myMenuR:hover {
width: 7vw;
right: 0px;
}
#mySidenav a {
position: relative;
float: inline-start;
left: calc(-0.2vw - 10px);
transition: 0.3s;
padding-left: 15px;
padding-right: 15px;
padding-top: 12px;
padding-bottom: 8px;
width: 5vw;
text-decoration: none;
font-family: "Bebas Neue", sans-serif;
font-size: 1.2vw;
font-optical-sizing: auto;
font-weight: 300;
font-style: normal;
text-align: right;
color: white;
border-radius: 0 5px 5px 0;
box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
}
#mySidenav a:hover {
left: 0;
}
#mySidenavR a {
position: relative;
float: inline-start;
right: calc(-0.2vw - 10px);
transition: 0.3s;
padding-left: 15px;
padding-right: 15px;
padding-top: 12px;
padding-bottom: 8px;
width: 7vw;
text-decoration: none;
font-family: "Bebas Neue", sans-serif;
font-size: 1.2vw;
font-optical-sizing: auto;
font-weight: 300;
font-style: normal;
text-align: left;
color: white;
border-radius: 5px 0px 0px 5px;
box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
}
#mySidenavR a:hover {
right: 0;
width: 7vw;
}
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
color: white;
padding: 50px;
box-sizing: border-box;
z-index: 3;
font-family: "Roboto Condensed", sans-serif;
}
.overlay-content {
background-color: #333;
padding: 20px;
border-radius: 10px;
max-height: 80vh; /* Ensures the overlay content is scrollable if it exceeds the viewport height */
overflow-y: auto;
}
.close-btn {
cursor: pointer;
color: white;
float: right;
font-size: 20px;
}
</style>
</head>
<!--
.d8888. .o88b. d8888b. d888888b d8888b. d888888b .d8888.
88' YP d8P Y8 88 `8D `88' 88 `8D `~~88~~' 88' YP
`8bo. 8P 88oobY' 88 88oodD' 88 `8bo.
`Y8b. 8b 88`8b 88 88~~~ 88 `Y8b.
db 8D Y8b d8 88 `88. .88. 88 88 db 8D
`8888Y' `Y88P' 88 YD Y888888P 88 YP `8888Y'
-->
<script src="wheelzoom.js"></script>
<script src="config.js"></script>
<script>
// Configurable grid layout logic. Defaults to standard 4 columns by 3 rows if values are missing in config.js file.
if (typeof layout_cols === 'undefined'){
var layout_cols = 4;
}
if (typeof layout_rows === 'undefined'){
var layout_rows = 3;
}
var layout_grid = "auto ".repeat(layout_cols);
var layout_width = (99.6 / layout_cols) + "vw";
var layout_height = (93 / layout_rows) + "vh";
var iTiles = layout_cols*layout_rows;
document.documentElement.style.setProperty("--main-layout", layout_grid);
document.documentElement.style.setProperty("--main-width", layout_width);
document.documentElement.style.setProperty("--main-height", layout_height);
if (!(aIMG.length==tileDelay.length && aIMG.length==iTiles)){
var msg = "\nError detected on config.js file!\n\n";
msg += "The number of tile sources (" + aIMG.length + " in aIMG) and\n";
msg += "the tile delay (" + tileDelay.length + " in tileDelay) arrays should match\n";
msg += "the number of items each one contains and\n";
msg += "the number of tiles used on the layout specified (" + iTiles + ").";
alert(msg);
}
// Default variables initialization
var largeShow = 0;
var aIdx = [];
var aInt = [];
for(var i=1; i<=iTiles; i++) {
aIdx.push(1);
aInt.push(null);
}
var help = "Double click on an image to expand to full screen.\n";
help += "Double click again to close full screen view.\n";
help += "Right click on an image to display the next one.\n";
help += "Images rotates every 30 seconds automatically by default.\n";
const currentVersion = 'v2024.11.13'; // You can also load this from a config.json file
async function getLatestVersion() {
try {
const response = await fetch('https://api.github.com/repos/VA3HDL/hamdashboard/releases/latest');
const data = await response.json();
return data.tag_name;
} catch (error) {
console.error('Error fetching the latest version:', error);
return currentVersion; // Fallback to the current version if there's an error
}
}
function isNewVersionAvailable(currentVersion, latestVersion) {
return currentVersion !== latestVersion;
}
bUpdate = false;
async function checkForUpdates() {
const latestVersion = await getLatestVersion();
if (isNewVersionAvailable(currentVersion, latestVersion)) {
bUpdate = true;
}
}
const videoExtensions = [".mp4", ".webm", ".ogg", ".ogv"];
function isVideo(src) {
return videoExtensions.some((ext) => src.includes(ext));
}
function getVideoType(src) {
if (src.includes(".mp4")) return "video/mp4";
if (src.includes(".webm")) return "video/webm";
if (src.includes(".ogg") || src.includes(".ogv")) return "video/ogg";
return "";
}
function isFrame(src) {
return src.includes("iframe|");
}
function oldformatArray(arr) {
return arr.join("<br>");
}
function formatArray(arr) {
return arr.map(innerArray =>
innerArray.map(item => typeof item === 'string' ? `"${item}"` : item).join(', ')
).join('<br>');
}
function setRot(){
if (typeof tileDelay === 'undefined') {
// If no individual tile rotation is defined then default is 30s or 30000ms
aInt[0] = setInterval(() => slide(), 30000);
} else {
tileDelay.forEach( function(tile,i) {
if (tile>0) {
aInt[i] = setInterval(() => slide(i), tile);
}
});
}
}
function rotStop(){
if (typeof tileDelay === 'undefined') {
clearTimeout(aInt[0]);
} else {
tileDelay.forEach( function(tile,i) {
clearTimeout(aInt[i]);
});
}
}
// This function shows the embedded websites
function MenuOpt(num) {
// Stop refreshes
window.stop();
rotStop();
//
document.getElementById("FullScreen").style.display = "block";
document.getElementById("iFrameContainer").style.zIndex = 1;
document.getElementById("FullScreen").src = aURL[num][2];
document.getElementById("FullScreen").style.transform =
"scale(" + aURL[num][3] + ")";
if (aURL[num][1].toLowerCase() == "back") {
// Start tile refreshes
setRot();
//
wheelzoom(document.querySelectorAll("img"));
} else if (aURL[num][1].toLowerCase() == "refresh") {
location.reload();
// Start tile refreshes
setRot();
//
} else if (aURL[num][1].toLowerCase() == "help") {
alert(help);
} else if (aURL[num][1].toLowerCase() == "sources") {
document.getElementById("array1").innerHTML = "<br>" + formatArray(aURL) + "<br><br>";
document.getElementById("array2").innerHTML = "<br>" + formatArray(aIMG) + "<br><br>";
document.getElementById("array3").innerHTML = "<br>Copyright (c) 2024 Pablo Sabbag, VA3HDL | Open Source License: MIT<br>";
document.getElementById("overlay").style.display = "block";
} else if (aURL[num][1].toLowerCase() == "update") {
window.open("https://github.com/VA3HDL/hamdashboard/releases/", "_blank").focus();
}
}
function hideOverlay() {
document.getElementById("overlay").style.display = "none";
}
// This function shows the larger images when double click to enlarge
function larger(event) {
var targetElement = event.target || event.srcElement;
if (largeShow == 1) {
// Start refreshes
setRot();
//
largeShow = 0;
document.getElementById("imgZoom").style.display = "none";
document.getElementById("imgZoom").style.zIndex = -2;
} else {
// Stop refreshes
window.stop();
rotStop();
//
largeShow = 1;
largeIdx = +targetElement.id.match(/\d+/)[0];
document.getElementById("imgZoom").style.display = "block";
document.getElementById("imgZoom").style.zIndex = 3;
document.getElementById("ImageLarge").src =
targetElement.style.backgroundImage
.replace(/^url\(["']?/, "")
.replace(/["']?\)$/, "");
}
}
// Image cache prevention
// Check if the image URL already include parameters, then avoid the random timestamp
function imgURL(url) {
if (url.includes("?")) {
return url;
}
return url + "?_=" + Date.now();
}
// Manually rotate images
function rotate(event) {
event.preventDefault();
var targetElement = event.target || event.srcElement;
if (largeShow == 1) {
i = largeIdx;
} else {
i = +targetElement.id.match(/\d+/)[0];
}
if (aIMG[i].length > 2) {
++aIdx[i];
if (aIdx[i] > aIMG[i].length - 1) {
aIdx[i] = 1;
}
if (isVideo(aIMG[i][aIdx[i]])) {
// Is video, event is not attached to videos for now, do nothing
} else if (isFrame(aIMG[i][aIdx[i]])) {
// Is iFrame, event is not attached to iFrames for now, do nothing
} else {
// Is image
document.getElementById(targetElement.id).src = imgURL(
aIMG[i][aIdx[i]]
);
}
}
}
function imgRot(i){
if (aIMG[i].length > 2) {
++aIdx[i];
if (aIdx[i] > aIMG[i].length - 1) {
aIdx[i] = 1;
}
}
// console.log("aIdx", aIdx);
// console.log("i", i, "aIdx[i]", aIdx[i], "aIMG[i][aIdx[i]]", aIMG[i][aIdx[i]]);
vid = document.getElementById("Video" + i);
img = document.getElementById("Image" + i);
ifr = document.getElementById("iFrame" + i);
if (isVideo(aIMG[i][aIdx[i]])) {
// Is video
vid.src = imgURL(aIMG[i][aIdx[i]]);
vid.classList.remove("hidden");
// Hide others
img.classList.add("hidden");
ifr.classList.add("hidden");
} else if (isFrame(aIMG[i][aIdx[i]])) {
// Is iFrame
newSrc = aIMG[i][aIdx[i]].split("|")
ifr.classList.remove("hidden");
ifr.src = newSrc[1];
ifr.style.zIndex = 0;
// Hide others
vid.classList.add("hidden");
img.classList.add("hidden");
} else {
// Is image
img.src = imgURL(aIMG[i][aIdx[i]]);
img.classList.remove("hidden");
// Hide others
vid.classList.add("hidden");
ifr.classList.add("hidden");
}
}
// Automatically rotate images
function slide(i) {
// check all tiles or one tile
if (typeof i === 'undefined') {
// get the locations with multiple images
aIMG.forEach(function (innerArray, i) {
imgRot(i);
});
} else {
// Only one tile as per timeout call
imgRot(i);
}
}
function start() {
// Get the parent div for Menu container
var parentDiv = document.getElementById("myMenu");
var parentDivR = document.getElementById("myMenuR");
// Append the Sources option to the right side menu
aURL.push(["0dd1a7", "Sources", "#", "1", "R"]);
if (bUpdate){
aURL.push(["FF0000", "Update", "#", "1", "R"]);
}
// Append the new div to the parent div
aURL.forEach(function (innerArray, index) {
// Create a new div element
var newDiv = document.createElement("div");
newDiv.innerHTML = `<a href="#" style="background-color:#${innerArray[0]};" onclick="MenuOpt(${index})">${innerArray[1]}</a>`;
if (innerArray[4] == "R") {
// Set some properties for the new div
newDiv.id = "mySidenavR";
newDiv.className = "sidenavR";
parentDivR.appendChild(newDiv);
} else {
// Set some properties for the new div
newDiv.id = "mySidenav";
newDiv.className = "sidenav";
parentDiv.appendChild(newDiv);
}
});
// Get the parent div for Dashboard container
var parentDiv = document.getElementById("dash");
// Append the new div to the parent div
aIMG.forEach(function (innerArray, index) {
// Create a new div element
var newDiv = document.createElement("div");
newDiv.className = "image-container";
newDiv.id = `box${index}`;
// Add video placeholder containers
const video = document.createElement("video");
video.id = `Video${index}`;
video.classList.add("media", "hidden");
video.controls = true;
video.muted = true;
video.autoplay = true;
video.loop = true;
const source = document.createElement("source");
// Create a new img element
var newImg = document.createElement("img");
newImg.id = `Image${index}`;
newImg.classList.add("hidden");
newImg.oncontextmenu = rotate;
newImg.ondblclick = larger;
// append newIframes iFrameNN
var newFrame = document.createElement("iframe");
newFrame.className = "iframe-tile";
newFrame.id = `iFrame${index}`;
newFrame.classList.add("hidden");
var newSrc = " ";
if (isVideo(innerArray[1])) {
// Is a video
video.classList.remove("hidden");
source.src = innerArray[1];
source.type = getVideoType(innerArray[1]);
video.appendChild(source);
} else if (isFrame(innerArray[1])) {
// Is iFrame
newFrame.classList.remove("hidden");
newSrc = innerArray[1].split("|")
newFrame.src = newSrc[1];
newFrame.style.zIndex = 0;
} else {
// Is an image
newImg.classList.remove("hidden");
newImg.src = imgURL(innerArray[1]);
newImg.onerror = function () {
text = "Failed to load image";
console.log(text, this.src);
if (this.src.includes("?")) {
// Retry without passing variables first to see if fixes the error
console.log("Trying without caching prevention");
newImg.src = this.src.split("?")[0];
} else {
el = `<svg xmlns="http://www.w3.org/2000/svg" width="480" height="330">
<g>
<text style="font-size:34px; line-height:1.25; white-space:pre; fill:#ffaa00; fill-opacity:1; stroke:#ffaa00; stroke-opacity:1;">
<tspan x="100" y="150">${text}</tspan>
</text>
</g>
</svg>`;
newImg.src = "data:image/svg+xml;base64," + window.btoa(el);
}
};
}
// append newDivs boxNN
newDiv.appendChild(video);
newDiv.appendChild(newImg);
newDiv.appendChild(newFrame);
parentDiv.appendChild(newDiv);
// Create a new div element for img title
var newTtl = document.createElement("div");
newTtl.className = "image-title";
newTtl.innerHTML = innerArray[0];
newDiv.appendChild(newTtl);
});
// assign wheelzoom functionality to all 12 images
wheelzoom(document.querySelectorAll("img"));
window.addEventListener("resize", function () {
"use strict";
window.location.reload();
});
setRot();
}
// This function update the time on the top bar
function updateTopBar() {
const now = new Date();
const localDate = now.toLocaleDateString("en-US", {
weekday: "long",
month: "long",
day: "numeric",
});
const localTime = now.toLocaleTimeString("en-US", {
hour12: false,
hour: "2-digit",
minute: "2-digit",
second: "2-digit",
timeZoneName: "short",
});
const utcDate = now.toISOString().slice(0, 10);
const utcTime = now.toISOString().slice(11, 19) + " UTC";
const topBarLeft = document.getElementById("topBarLeft");
topBarLeft.textContent = `${localDate} - ${localTime}`;
const topBarCenter = document.getElementById("topBarCenter");
topBarCenter.textContent = topBarCenterText;
const topBarRight = document.getElementById("topBarRight");
topBarRight.textContent = `${utcDate} ${utcTime}`;
}
// Update every second
setInterval(updateTopBar, 1000);
// Run the check when the application starts
checkForUpdates();
</script>
<!--
d8888b. .d88b. d8888b. db db
88 `8D .8P Y8. 88 `8D `8b d8'
88oooY' 88 88 88 88 `8bd8'
88~~~b. 88 88 88 88 88
88 8D `8b d8' 88 .8D 88
Y8888P' `Y88P' Y8888D' YP
-->
<body onload="start()">
<div id="iFrameContainer" class="iframe-container">
<iframe class="full-screen" id="FullScreen" src="" title="Zoom"></iframe>
</div>
<div id="imgZoom" class="img-zoom">
<img
class="image-large"
id="ImageLarge"
alt="pic"
ondblclick="larger(event);"
oncontextmenu="rotate(event);"
/>
</div>
<div id="myMenu" class="menu">
<!-- Left Menu container -->
</div>
<div id="myMenuR" class="menuR">
<!-- Right Menu container -->
</div>
<div id="defaultFrame" class="default-frame">
<div class="top-bar">
<div
id="topBarLeft"
class="child"
style="text-align: left; padding-left: 7px; color: blanchedalmond"
>
</div>
<div
id="topBarCenter"
class="child"
style="text-align: center; color: rgb(0, 119, 255)"
>
</div>
<div
id="topBarRight"
class="child"
style="text-align: right; padding-right: 5px; color: aquamarine"
>
</div>
</div>
<div id="dash" class="dashboard">
<!-- Images container -->
</div>
</div>
<div id="overlay" class="overlay">
<div class="close-btn" onclick="hideOverlay()">✖</div>
<div class="overlay-content">
<div class="array-container">
<div class="array-title"><B>Menu Options:</B></div>
<div id="array1" class="array-content"></div>
</div>
<div class="array-container">
<div class="array-title"><B>Image Sources:</B></div>
<div id="array2" class="array-content"></div>
</div>
<div class="array-container">
<div class="array-title"><B>Development by:</B></div>
<div id="array3" class="array-content"></div>
</div>
</div>
</div>
</body>
</html>