-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgallery.html
49 lines (48 loc) · 2.09 KB
/
gallery.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gallery - Judaica Canvas</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<style>
.iframe-container {
position: absolute;
top: 64px; /* Height of the header */
left: 0;
width: 100%;
bottom: 64px; /* Height of the footer */
}
</style>
</head>
<body class="bg-gray-100">
<header class="bg-gray-800 text-white p-4 fixed top-0 left-0 right-0 z-10">
<nav class="container mx-auto flex justify-between">
<div class="logo text-xl font-bold">Judaica Canvas</div>
<ul class="flex space-x-4">
<li><a href="index.html" class="hover:underline">Home</a></li>
<li><a href="gallery.html" class="hover:underline">Gallery</a></li>
<li><a href="about.html" class="hover:underline">About</a></li>
<li><a href="contact.html" class="hover:underline">Contact</a></li>
</ul>
</nav>
</header>
<main class="iframe-container">
<iframe src="https://www.pictorem.com/gallery/Judaica.Canvas" allowfullscreen frameborder="0" sandbox="allow-same-origin allow-scripts allow-popups allow-forms" class="w-full h-full" id="gallery-iframe"></iframe>
</main>
<footer class="bg-gray-800 text-white p-4 fixed bottom-0 left-0 right-0 z-10">
<div class="container mx-auto text-center">
© 2024 Judaica Canvas. All rights reserved.
</div>
</footer>
<script>
document.getElementById('gallery-iframe').onload = function() {
const iframeDoc = document.getElementById('gallery-iframe').contentDocument || document.getElementById('gallery-iframe').contentWindow.document;
const links = iframeDoc.getElementsByTagName('a');
for (let link of links) {
link.setAttribute('target', '_self');
}
};
</script>
</body>
</html>