This commit is contained in:
parent
84c33af9ca
commit
ba696f9faf
1 changed files with 7 additions and 9 deletions
16
index.html
16
index.html
|
@ -102,9 +102,11 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!-- BANNER -->
|
<!-- BANNER -->
|
||||||
<div id="banner" style="background-color: #f6c318; color: #552a85; text-align: center; padding: 10px; position: relative;">
|
<div id="banner"
|
||||||
<span id="banner-message"><u>FIRST EDITION IS OUT NOW!</u></span>
|
style="background-color: #f6c318; color: #552a85; text-align: center; padding: 10px; position: relative;">
|
||||||
<button id="close-banner" style="background: none; border: none; color: #552a85; font-weight: bold; cursor: pointer; position: absolute; right: 10px;">✖</button>
|
<a id="banner-message" href="/ComputeEdition1.pdf"><u>FIRST EDITION IS OUT NOW!</u></a>
|
||||||
|
<button id="close-banner"
|
||||||
|
style="background: none; border: none; color: #552a85; font-weight: bold; cursor: pointer; position: absolute; right: 10px;">✖</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class=w-nav data-animation=default data-collapse=medium data-duration=400 data-easing=ease data-easing2=ease
|
<div class=w-nav data-animation=default data-collapse=medium data-duration=400 data-easing=ease data-easing2=ease
|
||||||
|
@ -174,14 +176,10 @@
|
||||||
<script src=./meili.js type=module></script>
|
<script src=./meili.js type=module></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@4"></script>
|
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@4"></script>
|
||||||
<script>
|
<script>
|
||||||
document.getElementById("banner-message").onclick = function() {
|
document.getElementById("close-banner").onclick = function () {
|
||||||
window.open("ComputeEdition1.pdf");
|
|
||||||
};
|
|
||||||
|
|
||||||
document.getElementById("close-banner").onclick = function() {
|
|
||||||
document.getElementById("banner").style.display = "none";
|
document.getElementById("banner").style.display = "none";
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue