Aktualności

 

Kontakt

Janek Pentz
 

info@janekpentz.com
+48 661 400 099

jQuery("div.cookie div.acceptcookie").on('click',function(){ jQuery("div.cookie_submit").load("http://janekpentz.com/pages/vbox/submit_cookie"); jQuery("div.cookie").hide(); return false; })
function init_bLazy(){ var bLazy = new Blazy({ selector: '.b-lazy', loadInvisible : true, offset: 100, success: function(element){ element.classList.remove('b-lazy'); }, error:function(element,msg){ console.log(msg); } }); var bLazyBanners = new Blazy({ selector: '.b-lazy-banner', loadInvisible : true, offset: 100, success: function(element){ element.classList.remove('b-lazy-banner'); if(element.nextSibling.classList){ element.nextSibling.classList.remove('b-lazy-hide'); } }, error:function(element,msg){ console.log(msg); } }); console.log('init blazy'); } init_bLazy(); $( document ).ajaxStop(function() { init_bLazy(); lazy_load_inline_js(); })