I’ve been looking through a lot of the similar questions but no matter how I piece together the parts it doesn’t seem to work. I’d like to delay the opening of the light box for longer than 60 seconds. Currently this is what I have inserted:
import wixWindow from ‘wix-window’;
$w.onReady( function () {
setTimeout( function () {wixWindow.lightbox.open(‘kidding’)}, 200000)
});
greatly appreciate any help on this!
import {local} from ‘wix-storage’ ;
import wixWindow from “wix-window” ;
$w.onReady( function () {
if (!local.getItem( “firstTimePopupShown” )) {
setTimeout( function () {wixWindow.openLightbox( “Bienvenido” );}, 1000 );
local.setItem( “firstTimePopupShown” , “yes” );
}
} );
import {local} from ‘wix-storage’ ;
import wixWindow from “wix-window” ;
$w.onReady( function () {
if (!local.getItem( “firstTimePopupShown” )) {
setTimeout( function () {wixWindow.openLightbox( “Bienvenido” );}, 1000 );
local.setItem( “firstTimePopupShown” , “yes” );
}
} );