HEX
Server: Apache
System: Linux server-674799.igrow.ws 5.14.0-611.27.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 4 04:40:11 EST 2026 x86_64
User: elrashedytravel (1025)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/elrashedytravel/public_html/wp-content/themes/newscrunch/assets/js/wc-arrow.js
jQuery(document).ready(function($) {
    if ($('.woocommerce-product-gallery').length) {
        // Add navigation arrows
        $('.woocommerce-product-gallery').prepend('<div class="slider-prev">‹</div>');
        $('.woocommerce-product-gallery').append('<div class="slider-next">›</div>');
        
        // Event listeners for arrows
        $('.slider-prev').on('click', function() {
            $('.woocommerce-product-gallery').flexslider('prev');
        });
        
        $('.slider-next').on('click', function() {
            $('.woocommerce-product-gallery').flexslider('next');
        });
    }
});