In this chapter, we will explore the art of infinite scrolling. It's all about finding that perfect balance between content and distraction.
Step 1: Identify your goals and motivations.
You want to loop, but why? Are you a true enthusiast of the infinite scroll, or are you just trying to avoid the existential dread of a finite endpoint?
Step 2: Select your tools of the trade.
Do you prefer the elegance of a well-crafted infinite scroll or the raw power of JavaScript hijinks? The choice is yours.
Read on for advanced JavaScript techniques. Or, if you're feeling crafty, try our HTML/CSS looping methods.This example uses JavaScript to load more content as you scroll.
What happens when you take it too far?