(function($) { function pp_render_panels() { if ( $(window).width() > 768 ) { // Set the width of each panel based on the number of panels and expand width. $('.fl-node-zl78x4h1cqt3 .pp-image-panels-wrap .pp-panel').css('width', '100%'); $('.fl-node-zl78x4h1cqt3 .pp-image-panels-wrap .pp-panel').on( 'mouseenter', function() { $(this).css('width', '0%'); $(this).removeClass('pp-panel-inactive').addClass('pp-panel-active'); $(this).siblings().removeClass('pp-panel-active').addClass('pp-panel-inactive'); $(this).siblings().css('width', '