2024-02-05 22:23:14 +01:00
|
|
|
|
2024-02-08 22:48:31 +01:00
|
|
|
//Full res picture site
|
2024-02-05 22:23:14 +01:00
|
|
|
var fullpic = document.getElementById("fullpic")
|
|
|
|
|
|
|
|
if(window.location.href.indexOf("desktop") > -1){
|
|
|
|
fullpic.innerHTML+="<img src= 'pics/desktop-fullres.png'>";
|
|
|
|
}
|
|
|
|
if(window.location.href.indexOf("laptop") > -1){
|
|
|
|
fullpic.innerHTML+="<img src= 'pics/laptop-fullres.png'>";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-02-04 23:46:32 +01:00
|
|
|
// Popup on Contact page
|
2024-02-04 23:43:14 +01:00
|
|
|
var Popup = document.getElementById("myPopup");
|
|
|
|
var btn = document.getElementById("popupButton");
|
|
|
|
var span = document.getElementsByClassName("close")[0];
|
|
|
|
|
|
|
|
btn.onclick = function() {
|
|
|
|
Popup.style.display = "block";
|
|
|
|
}
|
|
|
|
|
|
|
|
span.onclick = function() {
|
|
|
|
Popup.style.display = "none";
|
|
|
|
}
|
|
|
|
|
|
|
|
window.onclick = function(event) {
|
|
|
|
if (event.target == Popup) {
|
|
|
|
Popup.style.display = "none";
|
|
|
|
}
|
|
|
|
}
|