jQuery on-scrolled-to plugin

That plugin allows to perform actions when element goes into a viewport to a specific portion.

Usage is simple:
$('.my-div').onScrolledTo(0.5, function() {
this.html('fired');
});

View Demo here.