@yisrael-wix The delay can only be adjusted if it is shown automatically on all pages. This doesn’t help if one is trying to use the lightbox for a dropdown menu when “Automatically display lightbox on pages” is set to “No”.
Hi Keiichi, can i ask you to share the code with me ?
I think that the Problem is not with the Lightbox delay setting itself , but with the fact that wixsite pages are taking a very long time to load (3-5s if the page is not heavy with elements yet) or (5 up to 10s sometimes if the page contains many elements ) and apparently wix takes light box the same as a page , that’s why it takes time to load ‘especially in mobile site’ even if the lightbox still doesn’t contain many elements, So wix Code won’t be of a much help in this case.
If I’m mistaking ! Please let me know.
Do you mean minutes or seconds?
Minutes? That just sounds like your internet speeds are abysmal.
In any case, the question has been answered already in this very thread, please read before posting:
https://www.wix.com/corvid/forum/main/comment/5c929a45634ab200ee770fd5
@chris-derrell of course I meant Seconds !! Just was too excited to type XD
// Corrected
@skmedia I think that creating a box and toggle between hiding and showing it will be faster ! And works greatly on desktop site.
The Only problem will be with the mobile site, the box won’t be pinned ,so scrolling down the page means menu staying up !
I mean if there’s a way to pin an element in mobile site I’m not aware of, please let me know !
I have the same problem with de delay on the lightbox, is terrible. Did anyone find a solution??? Thanks!
I also have this issue… very laggy to load a simple lightbox even without any code…
Hi Keiichi
i am same problem as you, can you share your code to me. Thank you very much.
@kimuraxhalu The code for something like that is quite simple. Just use .hide() and .show(), which you can add animations to:
https://www.wix.com/corvid/reference/$w.HiddenMixin.html#show
https://www.wix.com/corvid/reference/$w.HiddenMixin.html#hide
The real work is just in designing your menu popup, which can be set to show on all pages and pinned to screen.
Try using wix code as opposed to linking an element to open a light box. I had the same problem and now it works slightly faster. For example:
import wixWindow from 'wix-window';
export function vectorImage66_click(event) { wixWindow.openLightbox("Your Lightbox Name"); }
You can also turn the delay off or down in the animation of the lightbox.
Hi Keiichi Can you please tell me the code for your “lightbox” menu?
It functions great!!
Even after implementing the above code, I am experiencing an abysmal 7 second delay and my internet connection is very stable. I timed it and it is always exactly 7 seconds. Anyone found a solution?
Old post from 2018 being closed.