Streaming live at 10am (PST)

How to create a counter that goes up to a value I set


#1

i need to make a number counter that goes to a specific value every 24 hours

how would one go and do this with webflow?


#2

What do you mean? Can you be more specific?


#3

Hi @Tal_Shpon,

This is a Javascript related question and outside the scope of Webflow.

Best,
Naweed


#4

i need to have 3 field of text that are animated as if they are counting up to a specific value, each day (24 hours) i want the value to start from scratch counting up to the next number ill input for the next day. how would this be possible with webflow and JS? i mean how can i integrate the JS inside webflow? is there a tutorial on these type of integrations somewhere? maybe a 3rd party service?


#5

You can place custom code in Site header/footer, Page header/footer, and Embed code component


#6

thnx for the replay. i am aware of this feature, what i wanted to ask is: can i get an example of how the embed code changes a specific object?
lets say a text box that show a value from the embeded code. this could be a basic example or a counter (that would be even better)

thnx


#7

Here is a basic example https://jsfiddle.net/samliew/q9w2c3ky/

If you require additional custom coding, feel free to contact me here.


#8

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.