Hello. I try to call js function on scroll effect.
I found this topic: Call Javascript as scroll action - General - Forum | Webflow
But both variants don’t work at my site: click here to see
I tried to use a lot of plugins, but all of them don’t work well. It seems that Webflow’s js code blocks them.
So i need to call this js code $svg.drawsvg('animate');
when it scrolled to one of the div. The last way i tried: to include Waypoints library (Waypoints) and call it
var waypoint = new Waypoint({ element: document.getElementById('#newnew'), handler: function() { $svg.drawsvg('animate'); } })
And it doesn’t work again. What’s wrong with me?(