This is demo store you can't place order here...

Menu

Home > Canon

Social

Canon

Added By muthuvel

0.00 0.00

Category : Bike Accessories

} catch (error) { console.error('Error initializing zoom:', error); } } // Function to initialize zoom on a single image function initSingleImageZoom($img) { try { console.log('Initializing zoom for image:', $img.attr('src')); // Initialize zoom with larger magnifier and white background $img.imagezoomsl({ zoomrange: [2, 6], magnifiersize: [350, 350], magnifierpos: 'right', cursorshade: true, cursorshadecolor: '#ffffff', cursorshadeopacity: 0.3, cursorshadeborder: '1px solid #ddd', magnifierborder: '2px solid #ccc', magnifiereffectanimate: 'fadeIn', zoomstart: 2, stepzoom: 0.3, leftoffset: 20, rightoffset: 20, switchsides: true, showstatus: false, disablewheel: false }); $img.data('zoom-initialized', true); console.log('Zoom initialized successfully for image'); } catch (error) { console.error('Error initializing single image zoom:', error); } } // Wait for all scripts and images to load before initializing zoom $(window).on('load', function() { console.log('Window fully loaded, initializing zoom...'); setTimeout(function() { initImageZoom(); }, 500); }); // Fallback initialization after DOM ready setTimeout(function() { console.log('Fallback zoom initialization...'); initImageZoom(); }, 2000); // Re-initialize zoom when Bootstrap tabs are switched $(document).on('shown.bs.tab', 'a[data-bs-toggle="tab"]', function(e) { console.log('Tab switched, reinitializing zoom...'); setTimeout(function() { initImageZoom(); }, 300); }); // Handle window resize with debouncing var resizeTimeout; $(window).on('resize', function() { clearTimeout(resizeTimeout); resizeTimeout = setTimeout(function() { console.log('Window resized, reinitializing zoom...'); initImageZoom(); }, 500); }); console.log('Zoom functionality setup complete'); } })();