Guided Instructions
.avif)
Instructions Guide
This is a responsive slider built with GSAP, featuring autoplay, navigation controls, and a smooth infinite loop. It automatically adapts to different screen sizes and updates UI elements like progress and slide count.
Make sure your Webflow classes match exactly:
.value-section-inner → Main wrapper
.value-slides-wrapper → Slides container
.value-slide → Each slide
.value-slider-prev → Previous button
.value-slider-next → Next button
.value-slider-progress-line → Progress bar
.value-slider-fraction → Counter - Slider creates a seamless loop using cloned slides
- Moves with smooth GSAP animation
- Updates progress bar and slide number automatically
- Rebuilds on screen resize for responsiveness
- Responsive: 1 slide (mobile), 2 slides (desktop)
- Autoplay: Runs every 4 seconds
- Pause on Hover: Stops when user hovers
- Manual Control: Next/Prev buttons
Autoplay Speed
const autoplayDelay = 4000;Animation Speed
duration: 0.5Responsive Slides
return window.innerWidth < 480 ? 1 : 2;- Do not change class names
- Ensure GSAP is included in your project
- Place the script before the closing
</body>tag
This FAQ section uses a custom GSAP animation. Only one FAQ item can remain open at a time. When a new FAQ is opened, the previously opened FAQ will automatically close.
Currently, the first FAQ item opens automatically when the page loads.
let activeIndex = 0;Animation Speed
duration: 0.4Make Animation Faster
duration: 0.2Make Animation Slower
duration: 0.8When a FAQ is opened, the icon rotates:
rotate: 45rotate: 180Each content item needs:
duration: 0.4Do not rename the following classes, otherwise the FAQ functionality will stop working:
faq-item
faq-content
faq-icon
.wcu-tab-linkCheck:
- GSAP is loaded correctly.
- Class names have not been changed.
- Custom code is placed before the closing
</body>tag.
This website uses Lenis Smooth Scrolling integrated with GSAP ScrollTrigger.
duration: 0.8
Current easing:
const lenis = new Lenis({
duration: 1.5,
easing: (t) => 1 - Math.pow(1 - t, 3),
smoothWheel: true,
smoothTouch: false
})Change:
smoothTouch: false
To:
smoothTouch: trueEach content item needs:
duration: 0.4Each content item needs:
wheelMultiplier: 0.9
touchMultiplier: 1.5The custom code is placed before the closing </body> tag.



