//Scroll Animations const observer = new IntersectionObserver((entries) => { entries.forEach((entry) => { // console.log(entry); if (entry.isIntersecting) { entry.target.classList.add('animations-show-item'); observer.unobserve(entry.target); } else { entry.target.classList.remove('animations-show-item'); } }); }); const hiddenElements = document.querySelectorAll('.animations-hidden-item'); hiddenElements.forEach((el) => observer.observe(el)); jQuery('document').ready(function(){ var owl = jQuery('.our-projects .owl-carousel'); owl.owlCarousel({ margin:25, stagePadding: 130, nav: true, autoplay : true, lazyLoad: true, autoplayTimeout: 3000, loop: true, dots:false, navText : ['',' '], responsive: { 0: { items: 1, nav: false, stagePadding: 0, }, 600: { items: 2, nav: false, stagePadding: 0, }, 1000: { items: 3 } }, autoplayHoverPause : true, mouseDrag: true }); });