Streaming live at 10am (PST)

Webflow Counter

I am trying to get a counter to work as per this link…

http://flowbase-countup.webflow.io/

Can anyone help with the actual code and where I need to put it. I would clone this site but I cannot clone a site to a team account! :frowning:

Many thanks all!

Hey @GrahamB

Your text will need the class counter

here’s the code that needs to be placed in the “Before /body tag” of the page:

<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/waypoints/2.0.3/waypoints.min.js'></script>
<script src='https://cdn.jsdelivr.net/jquery.counterup/1.0/jquery.counterup.min.js'></script>

<script>
$('.counter').counterUp({
  delay: 10,
  time: 2000
});
$('.counter').addClass('animated fadeInDownBig');
$('h3').addClass('animated fadeIn');
</script>
1 Like

That worked beautifully! Thanks ever so much.

G

1 Like

Glad I could help! :webflow_heart: