Hi @marc, Can you please update your post with some more information so we can help you faster? Things like a read-only link, designs, examples or screenshots help a lot.
Unfortunately I cannot provide any Screenshots, but of course I can explain the case more.
I want to have a number counting up using CountUp.js.
But when i make use of this function it starts counting onload and is already finished when the user reaches the section with the counting numbers. That’s why I want to launch it with the on scroll trigger of the section. I could use the following jQuery based code, but I want to make it leaner:
$(document).ready(function(){
$(window).scroll(function(){
if ($('#count1').isOnScreen()) {
numAnim1.start();
}
});
});
Basically, I just want to use numAnim1.start() as a scroll into view effect.