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
I have a page with a large number of galleries. When the user clicks on a gallery thumbnail, a lightbox with that gallery's images is opened. I'd like to be able to lazy load the gallery contents, but not before the lightbox is opened. Is there a way to do this?
The text was updated successfully, but these errors were encountered:
Try deferring the call to Response.create until then (and not using body[data-responsejs] because that calls it automatically). Or try a pure CSS lightbox. If using a JavaScript lightbox, you may be better off just calculating the dimensions with Response or verge and then use .setAttribute to set the [src].
I have a page with a large number of galleries. When the user clicks on a gallery thumbnail, a lightbox with that gallery's images is opened. I'd like to be able to lazy load the gallery contents, but not before the lightbox is opened. Is there a way to do this?
The text was updated successfully, but these errors were encountered: