You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var popup = new $.Popup();
if ($.cookie('responsive_popup') == null) {
var myVar = setTimeout(function(){ popup.open('#inline'); }, 3000);
}
$(".popup_close").click(function(){
clearTimeout(myVar);
$.cookie('responsive_popup', 'yes', { expires: {/literal}{$popup_cookie*0.000694}{literal}, path: '/' });
});
The onkly problem is when i click the X to close the popup with setTimeout used, the cookie is not saved. If i remove the setTimeout function and return to the normal way is working.
Is very strange! There is a fix?
The text was updated successfully, but these errors were encountered:
I've tried this solution:
The onkly problem is when i click the X to close the popup with setTimeout used, the cookie is not saved. If i remove the setTimeout function and return to the normal way is working.
Is very strange! There is a fix?
The text was updated successfully, but these errors were encountered: