-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
41 lines (41 loc) · 1.2 KB
/
footer.php
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
</div>
<footer class="w3-container w3-padding w3-center w3-opacity w3-white w3-xlarge">
<p class="w3-medium">Groene Regentes © 2020 | created by <a href="https://www.imtal.nl" target="_blank" rel="noopener">imtal</a></p>
</footer>
<script>
function nav_open() {
console.log("open");
document.getElementById('nav').style.display = 'block';
document.getElementById('nav-open').style.display = 'none';
document.getElementById('nav-close').style.display = 'block';
}
function nav_close() {
console.log("close");
document.getElementById('nav').style.display = 'none';
document.getElementById('nav-open').style.display = 'block';
document.getElementById('nav-close').style.display = 'none';
}
function nav_search() {
var q = document.getElementById('q'),
f = document.getElementById('nav-search-form');
if (f.style.display == 'none') {
f.style.display = 'block';
q.focus();
} else {
if (q.value) {
document.getElementById('nav-search-form').submit();
} else {
f.style.display = 'none';
}
}
}
var m=document.getElementById('modal');
window.onclick = function (event) {
if(event.target==m) {
m.style.display='none';
}
}
</script>
<?php wp_footer(); ?>
</body>
</html>