BLACKSITE
:
216.73.216.62
:
147.93.18.13 / vinyasaweddings.com
:
Linux srv667811 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
:
/
var
/
www
/
vinyasawedding
/
public
/
Upload File:
files >> /var/www/vinyasawedding/public/script.js
$(document).ready(function(){ // Gallery Carousel $('.gallery-carousel').owlCarousel({ loop: true, margin: 20, nav: false, dots: false, autoplay: true, autoplayTimeout: 5000, responsive: { 0: { items: 1 }, 600: { items: 2 }, 1000: { items: 3 } } }); // Testimonial Carousel $('.testimonial-carousel').owlCarousel({ loop: true, margin: 30, nav: false, // Optional: hide next/prev arrows dots: false, autoplay: true, autoplayTimeout: 5000, // 5 seconds interval responsive: { 0: { items: 1 }, 768: { items: 1 }, 1000: { items: 1 } } }); // Smooth scrolling for anchor links $('a[href*="#"]').on('click', function(e) { e.preventDefault(); $('html, body').animate( { scrollTop: $($(this).attr('href')).offset().top, }, 500, 'linear' ); }); }); document.addEventListener('DOMContentLoaded', function() { const filterBtns = document.querySelectorAll('.filter-btn'); const galleryItems = document.querySelectorAll('.gallery-item'); filterBtns.forEach(btn => { btn.addEventListener('click', function() { // Update active state filterBtns.forEach(b => b.classList.remove('active')); this.classList.add('active'); // Filter items const filter = this.dataset.filter; galleryItems.forEach(item => { if (filter === 'all' || item.dataset.category === filter) { item.style.display = 'block'; } else { item.style.display = 'none'; } }); }); }); }); document.addEventListener('DOMContentLoaded', function() { const filterBtns = document.querySelectorAll('.category-btn'); const designItems = document.querySelectorAll('.design-item'); filterBtns.forEach(btn => { btn.addEventListener('click', function() { // Update active state filterBtns.forEach(b => b.classList.remove('active')); this.classList.add('active'); // Filter items const filter = this.dataset.filter; designItems.forEach(item => { if (filter === 'all' || item.dataset.category === filter) { item.style.display = 'block'; } else { item.style.display = 'none'; } }); }); }); });