Slider to Reveal More (or Less) Content

Hello, Weavers!

I’m looking for a stack (or code) solution for my site.

If you look on the Coffee Ipsum, there’s a slider where you can choose to add more or less content.

I’d like to do the same thing, only I’d like for it to update live, without needing to click a button or to refresh.

For example, a few years back, when AdBlock was offering CatBlock, you had to give a monthly gift. As you moved the slider to the right, increasing the donation, the paragraph of the things that you’d get would get longer. So, for $5 it might say, “I’ll write you a personal thank you note” and if you moved the slider to $10, it’d say, “I’ll write you a personal thank you note and send you a poem.”

Any ideas on how to accomplish this?

Thanks, as always!

This wouldn’t work exactly like your thinking but, I wonder if using the slider syncing feature with moving box would get you in the neighbourhood