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');
});
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');
});