Adding Slideshow for pictures in prompt examples

This commit is contained in:
tfw
2025-05-28 10:48:30 +02:00
parent bab48487e8
commit 08969756ad
6 changed files with 72 additions and 6 deletions
+7
View File
@@ -38,6 +38,13 @@ function initFAQ() {
otherQuestion.nextElementSibling.classList.remove('active');
}
});
// Initialisiere Slideshows innerhalb der geöffneten Antwort
setTimeout(() => {
if (typeof initSlideshows === 'function') {
initSlideshows();
}
}, 100);
}
});
});
+1
View File
@@ -1,3 +1,4 @@
window.addEventListener('load', function() {
// Testimonial-Wechsel-Funktionalität
const testimonialImages = document.querySelectorAll('.satag--home-testimonial-image-wrapper');