Streaming live at 10am (PST)

Odometer on scroll position (JS Code help needed)


I’ve recently added this element to my site:


The JS is working fine, but on page load and delayed by x seconds. I’m trying to figure out how to start the JS when the element is on screen or scrolled to, rather than on page load.

Current Setup


Any ideas?, help would be appriciated.

Thank you

Hi, this topic has been discussed here: Javascript Number Counter
However, not sure if it will be easy to recreate the odometer appearance.


Thanks @ColibriMedia, I’ve got the odometer to work fine, it’s just the starting on scroll that I am stuck on.

You mean “Start on scroll” actually or “Start when it’s in view”?

Start when it’s in view - please