Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Delay Popup for up to a minute
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Delay Popup for up to a minute

Delay Popup for up to a minute 7 years, 12 months ago #30472

This popup is one of the best in JED, I had to write a review for it. The only issue I have is that I want to be able to delay the popup until about 1 or two minutes. Some people complained of intrusiveness if it pops up on pageload.

Re: Delay Popup for up to a minute 7 years, 12 months ago #30513

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear kennysteve,

We will consider this issue for the next update.

Thanks & regards!
The following user(s) said Thank You: kennysteve

Re: Delay Popup for up to a minute 7 years, 10 months ago #31589

Is there a simple modification you could suggest I make to achieve it while I wait for the new release?

Thanks in anticipation.

Re: Delay Popup for up to a minute 7 years, 10 months ago #31717

  • thuygtn
Dear kennysteve,

You can open the file: modules\mod_sj_newsletter_popup\tmpl\default.php and find:

else
{
$('.show-error').remove();
$('.btn-button').after('<span class="show-error" style="color: red;margin-left: 10px"> Email is required </span>')
$(email).focus();
return false;
}
return false;
});

and add more following the code

setTimeout(closePopupTimeout,60000);
function closePopupTimeout() {
var this_close = $('.popup-close');
this_close.parents().find('.sj-popup-container').remove();
});

Hope it works

Thanks
  • Page:
  • 1
Time to create page: 0.22 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes