JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://imakewebthings.github.com/jquery-waypoints/waypoints.min.js"></script>
<div class="first"></div>
<div class="second"></div>
CSS
.first {
background:green;
height: 600px;
width:100%;
}
.second {
background:red;
height: 600px;
width:100%;
}
JavaScript
$('.second').waypoint(function() {
alert('You have scrolled to an entry.');
}, {
offset: '100%'
});