The QuantumLab Webflow template includes two custom GSAP animations that enhance your website's interactivity:
Marquee Scroll Animation - Creates a continuous scrolling logo strip that responds to user scroll direction and speed, and can pause on hover
Number Counter Animation - Animates numbers counting up when they enter the viewport
This documentation will guide you through using these animations without needing to understand the code itself.
Before working with these animations, you need to enable the correct GSAP plugins in Webflow:
To enable GSAP plugins:
For Marquee Scroll Animation:
For Number Counter Animation:
Important Note: All of this has been previously set up in this template. Only enable the plugins you need. Adding unnecessary plugins can slow down your website by loading extra code.

Important Note: The template includes GSAP interactions made with Webflow's native tools. Even if you don't enable the necessary plugins the animations made with custom code will still work since they use the same plugins as these interactions, however, if you delete these interactions and disable the plugins, the custom animations won't work.

The marquee animation creates a continuously scrolling strip of logos (or any content) that:
Required Structure:
Your marquee section needs these elements in this order:
Because the animation can move in either direction (left or right depending on scroll), you need multiple copies of your logo strip to ensure smooth looping. And while the animation may work with 2 or 3 copies on Webflow's designer, on bigger screen sizes you would notice the gap caused by the lack of elements. Without enough copies, you'll see empty space to the sides on large screens, or when the animation reverses direction.
Recommended: Use at least 4-5 identical copies of your Marquee Scroll Item.

You can see this issue on the logo strip where the elements that are inside don't make the marquee long enough. With two copies it fills the width of standard screen sizes, but on larger screens like this you would see empty spaces to the left and right.

However, with 5 copies the marquee becomes long enough to fill even large screens.

If you want to change the marquee speed, you'll need to modify the duration value in the custom code. The value is measured in seconds (eg. 50 gives it a duration of 50 seconds), and you need to look for this line:

If you want the Marquee to stop scrolling when you hover an element, you just need to add the class Marquee Hover Stop on the Marquee's wrapper, or direct container.
This Marquee will function normally without stopping:

And this one will stop moving when you hover over any element inside of it:

The number counter animation makes numbers count up from 0 to a target value when they scroll into view. Perfect for statistics, achievements, or any numeric data.
Required Structure:
You need two things:


If you want to change the counter's speed, you'll need to modify the duration value in the custom code. The value is measured in seconds (eg. 2 gives it a duration of 2 seconds), you need to look for this line:

The counter automatically formats the values into thousands:
The counter automatically detects if your target number has decimals and it'll animate them too:

You can have multiple counters on the same page. Each counter:
The number that you see in the designer will be overridden by the value set on the Custom Attribute, but you may still set the correct number on the designer for easier visualization.
Problem: The logos aren't scrolling
Problem: I see gaps or jumps in the animation
Problem: The animation is too fast or too slow
duration: 50)Problem: The marquee doesn't stop on hover
This structure won't stop on hover even though it has the Marquee Hover Stop class, because the element that has it isn't the direct container of the ones that have the class Marquee Scroll Item.

This structure will stop on hover because the element that has is is the direct container of the ones that have the class Marquee Scroll Item.

Problem: Numbers don't count up
Problem: Counter shows "0" or "NaN"
Problem: Multiple counters start at the same time
If you need help customizing these scripts or run into any issues not covered in this documentation, please email us at:
We're here to help you make the most of your Investflow Webflow template!

