Esta página web usa cookies
Utilizamos cookies y tus datos personales para personalizar anuncios y mejorar tu experiencia en nuestro sitio. Al aceptar, nos das tu consentimiento para utilizarlos. Puedes administrar tus preferencias de cookies en cualquier momento. Obtén más información en nuestra Política de Privacidad. Más información
Selecciona las cookies que quieres Aceptar
Aceptar todas Rechazar Ajustar Cookies
Guardar
window.addEventListener("load", function () { // MODO PRUEBAS: mostrar siempre el popup localStorage.removeItem("popupSeleccionED"); setTimeout(function(){ var css = ` #ed-popup-overlay{ position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,.75); display:flex; justify-content:center; align-items:center; z-index:999999; } #ed-popup-box{ position:relative; max-width:900px; width:90%; } #ed-popup-box img{ width:100%; display:block; border-radius:12px; box-shadow:0 15px 50px rgba(0,0,0,.4); cursor:pointer; } #ed-popup-close{ position:absolute; top:-15px; right:-15px; width:40px; height:40px; border-radius:50%; background:#fff; color:#000; font-size:28px; font-weight:bold; text-align:center; line-height:40px; cursor:pointer; box-shadow:0 0 10px rgba(0,0,0,.4); } `; var style = document.createElement("style"); style.innerHTML = css; document.head.appendChild(style); var popup = document.createElement("div"); popup.id = "ed-popup-overlay"; popup.innerHTML = ` `; document.body.appendChild(popup); document.getElementById("ed-popup-close").onclick = function(){ popup.remove(); localStorage.setItem("popupSeleccionED","1"); }; popup.onclick = function(e){ if(e.target === popup){ popup.remove(); localStorage.setItem("popupSeleccionED","1"); } }; },3000); });