PageSourceSearch

https://www.greenply.com/assets/js/consumer-inspiration-min.js

js greenply.com collected 2026-09-24 18:03:24 UTC 1,637 bytes, 5 lines download raw bytes

1jQuery(function(){jQuery('.showSingle').hover(function(){jQuery('.targetDiv').hide();jQuery('#div'+$(this).attr('target')).show()});jQuery('.close-map-pop').click(function(){jQuery('.targetDiv').hide()})});function isElementInViewport(el){if(!el){return!1}
2var rect=el.getBoundingClientRect();return(rect.top>=0&&rect.left>=0&&rect.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&rect.right<=(window.innerWidth||document.documentElement.clientWidth))}
3var section=document.getElementById("sustainability-section");var counterStarted=!1;function onLoadConsumerInspiration(){window.addEventListener("scroll",function(){if(!counterStarted&&isElementInViewport(section)){$('.count').each(function(){$(this).prop('Counter',0).animate({Counter:$(this).text()},{duration:3000,easing:'swing',step:function(now){$(this).text(Math.ceil(now).toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,"))}})});counterStarted=!0}});$('.product-slider').owlCarousel({loop:!1,margin:20,dots:!0,responsiveClass:!0,responsive:{0:{items:1,margin:0,nav:!0},600:{items:2,nav:!1},1000:{items:4,nav:!0,loop:!1}}});$('.products-slider').owlCarousel({loop:!1,margin:15,dots:!1,responsiveClass:!0,responsive:{0:{items:1,margin:0,nav:!0},600:{items:2,nav:!1},1000:{items:3,nav:!0,loop:!1}}})
4$('.testimonials-slider').owlCarousel({loop:!1,margin:10,nav:!0,mouseDrag:!0,dots:!1,responsiveClass:!0,responsive:{0:{items:1,nav:!0},600:{items:3,nav:!0},1000:{items:3,nav:!0,loop:!1}}})
5$('.developments-slider').owlCarousel({loop:!1,margin:60,dots:!1,responsiveClass:!0,responsive:{0:{items:1,nav:!0},600:{items:2,nav:!1},1000:{items:2,nav:!0,loop:!1}}})}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.