// Enhanced fix for Elementor lightbox lazy loading document.addEventListener('DOMContentLoaded', function() { // Function to force load all lazy images function forceLoadLazyImages() { console.log('Attempting to force load lazy images...'); const lazyImages = document.querySelectorAll('.elementor-lightbox-image.swiper-lazy:not(.swiper-lazy-loaded)'); console.log('Found', lazyImages.length, 'lazy images to load'); lazyImages.forEach(function(img) { if (img.dataset.src) { console.log('Loading image:', img.dataset.src); img.src = img.dataset.src; img.classList.add('swiper-lazy-loaded'); } }); } // Wait for Elementor frontend to be ready if (typeof elementorFrontend !== 'undefined') { console.log('Elementor frontend detected'); // Hook into lightbox open event elementorFrontend.on('components:init', function() { console.log('Elementor components initialized'); if (elementorFrontend.utils && elementorFrontend.utils.lightbox) { console.log('Lightbox utility detected'); // Hook into slideshow show event elementorFrontend.utils.lightbox.on('slideshow:show', function() { console.log('Slideshow show event triggered'); // Force load immediately forceLoadLazyImages(); // Also try again after a short delay setTimeout(forceLoadLazyImages, 500); setTimeout(forceLoadLazyImages, 1000); }); // Also hook into slide change event elementorFrontend.utils.lightbox.on('slideChange', function() { console.log('Slide change event triggered'); forceLoadLazyImages(); }); } }); } // Backup approach: monitor DOM for lightbox opening const observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (mutation.addedNodes && mutation.addedNodes.length > 0) { for (let i = 0; i < mutation.addedNodes.length; i++) { const node = mutation.addedNodes[i]; if (node.classList && node.classList.contains('dialog-lightbox-widget')) { console.log('Lightbox detected via DOM mutation'); setTimeout(forceLoadLazyImages, 100); setTimeout(forceLoadLazyImages, 500); } } } }); }); observer.observe(document.body, { childList: true, subtree: true }); });
Loading Events

« All Events

  • This event has passed.

Photo Scavenger Hunt

August 28, 2021

Free

Location:  Stop by the office to receive your scavenger hunt sheet.

Description: Find and capture photos to make a BINGO! Show the office your completed bingo page and pick a prize. All you need is a phone or camera!

Age Group: Fun for all ages and families.

Cost: Free.

Details

Date:
August 28, 2021
Cost:
Free
Event Category:

Organizer

Bridgeview Resort
Phone
4033812357
Email
kathy@holidaytrailsresorts.com

Venue

Bridgeview RV Resort
1501 2nd Ave
Lethbridge, Alberta T1J 4S5 Canada
+ Google Map
Phone
4033812357