Pasta: 01e39af472397b2709e2971e7907cc9ec4d79875 (2015-10-08)

Język: Text
Adres: p43.pl/p,01e39af472397b2709e2971e7907cc9ec4d79875
Ilość linii: 34
Rozmiar: 1.13 kB
Wyświetleń: 353
Ostatnio użyto: 2017-11-18 04:45:10
setTimeout(function() { runPopup(); } , 7000); function runPopup() { console.log("#1 - ") if(coupon == '' && value !== 'closed') { console.log("jestem w ifie") function addEvent(obj, evt, fn) { console.log("Event") if (obj.addEventListener) { obj.addEventListener(evt, fn, false); } else if (obj.attachEvent) { obj.attachEvent("on" + evt, fn); } } addEvent(window,"load",function(e) { addEvent(document, "mouseout", function(e) { console.log("mouse out"); e = e ? e : window.event; var from = e.relatedTarget || e.toElement; if (!from || from.nodeName == "HTML") { document.getElementById("newsletter_wrapper").style.display = "block"; //alert("left window"); } }); }); // window.setTimeout(function () {document.getElementById("newsletter_wrapper").style.display = "block";}, 30000); } }