You'll insert it into the 'Head Code' embed of your project settings.
Other useful add-ons:
<!-- Note: Use your own * Club GreenSock * scripts! May use JsDelivr (https://www.jsdelivr.com/github) & GitHub for hosting -->
<!-- GSAP Scroll Trigger -->
<script defer src="https://cdn.jsdelivr.net/gh/BarthMedia/js@main/ScrollTrigger.min.js"></script>
<!-- GSAP Scroll Smoother -->
<script defer src="https://cdn.jsdelivr.net/gh/BarthMedia/js@main/ScrollSmoother.min.js"></script>
<!-- GSAP Scroll To -->
<script defer src="https://cdn.jsdelivr.net/gh/BarthMedia/js@main/ScrollToPlugin.min.js"></script>
<!-- [BMG] Custom GSAP script -->
<script>
gsap.registerPlugin(ScrollTrigger, ScrollSmoother)
// create the smooth scroller FIRST!
let smoother = ScrollSmoother.create({
content: '.main-wrapper',
smooth: 2, // seconds it takes to "catch up" to native scroll position
effects: true // look for data-speed and data-lag attributes on elements and animate accordingly
})
</script>
FAQs
You still have an open question about BMG.studio and how we operate. Chances are good that you will find what you are looking for here:
Why does this FAQ exist?
Well. As of Wednesday, March 15th 2023, I think this component looks really cool.
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.