I recently needed to have a javascript behavior trigger only while a site visitor is scrolling. So, as you already know if you've read any of my other articles, I made a plugin! jQuery During Scroll is a plugin that allows developers to trigger events when a user starts scrolling, while they're scrolling and once they've finished scrolling. It provides a simple API that I hope is reasonably flexible so developers can add scroll-based behavior in an easy and well-performing way.