Lightbox delay longer than a minute

Does anyone know if it’s possible (and how) to set up a lightbox so that it pops up after 3 minutes OR after a certain number of clicks on a page? I’m trying to get the subscribe lightbox to come up once visitors have been on the site for 3 minutes or 3 clicks but it seems via Wix editor, the max is 60 seconds. I’m kind of a newbie & don’t know much code, so really clear directions would be much appreciated! Thanks!

Hi!

You can solve it with a little work-around consisted of two parts:
First, look into this method that lets you execute functions (and code in general) with a delay specified by you.
Then, you should use the openLightbox( ) method in order to manually open your Lighbox.

Combining these two will allow you to open the lightbox with any delay you desire.
Just make sure that you put the code snippet for this in the onReady function of the page so the counting will start when the page is loaded.

Hope it helps!
Best of luck.

Doron. :slight_smile:

Thank you so much, Doron! I really appreciate your help!