This example demonstrates how to disable background scrolling when the lightbox is open.
While the lightbox is open, you won't be able to scroll this page.
allowBackgroundScrolling is set to false, which prevents scrolling the background page while the lightbox is active.
new AvalynxLightbox('.avalynx-lightbox', {
allowBackgroundScrolling: false
});
AvalynxLightbox on GitHub Avalynx on GitHub