Hello, hope all is well with you fellow Webflowers!
I would need some help to get a javascript to start when I scroll into the section that the javascript is regarding. Right now it has already typed it out when I reach the section.
This is a basic typer.js script. But my peanut of a brain cannot fathom the onScroll concept and so on.
This is the code I am using:
<script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.10/typed.min.js"></script>
<script>
var typed = new Typed(".typed-words", {
strings: ["Denna presentation är gjord i Webflow. Frågor? :)", ],
typeSpeed: 75,
backSpeed: 50,
backDelay: 800,
startDelay: 500,
loop: false,
showCursor: false,
cursorChar: "|",
attr: null,
});
</script>```
Thank you in advance!
All the best,
Arvid, a confused Webflower