Amazon

Amazon

Catch up on the latest sporting events, match highlights, and in-depth analysis across various sports, including football, basketball, tennis, and more.

डिजिटल कैमरा क्या है?

कैमरा शब्द की उत्पत्ति लैटिन भाषा से हुई है। पुराने समय में जब तकनीक इतनी विकसित नहीं थी, तब फोटोग्राफी के लिए फिल्म कैमरों का उपयोग किया जाता…

Subscribe to our Newsletter

Subscribe to our email newsletter to get the latest posts delivered right to your email.
Pure inspiration, zero spam ✨
document.addEventListener("DOMContentLoaded", function () { const emblaNode = document.querySelector(".testimonial-embla"); if (!emblaNode) return; const prevButton = document.querySelector(".testimonial-prev"); const nextButton = document.querySelector(".testimonial-next"); const progressBar = document.querySelector(".progress-line"); const embla = EmblaCarousel( emblaNode, { loop: true, align: "start", skipSnaps: false, dragFree: false } ); nextButton.addEventListener("click", function(){ embla.scrollNext(); }); prevButton.addEventListener("click", function(){ embla.scrollPrev(); }); function updateProgress(){ const totalSlides = embla.scrollSnapList().length; const currentIndex = embla.selectedScrollSnap(); const progress = ((currentIndex + 1) / totalSlides) * 100; progressBar.style.width = progress + "%"; } embla.on("select", updateProgress); embla.on("init", updateProgress); updateProgress(); document.addEventListener( "keydown", function(e){ if(e.key === "ArrowLeft"){ embla.scrollPrev(); } if(e.key === "ArrowRight"){ embla.scrollNext(); } } ); let autoplay; function startAutoplay(){ autoplay = setInterval(()=>{ embla.scrollNext(); },5000); } function stopAutoplay(){ clearInterval(autoplay); } startAutoplay(); emblaNode.addEventListener( "mouseenter", stopAutoplay ); emblaNode.addEventListener( "mouseleave", startAutoplay ); });