As I am working a lot with scroll in the last few days, was at my fingertips, follows below a simple example, just implement control variables to check if the action has already been fired and avoid repetition...
// armazena o scrolltop do elemento que deseja aguardar
var scrollTopoffset = $('#dois').offset().top - $(window).height();
$(window).scroll(function() {
if ($(window).scrollTop() > scrollTopoffset) {
// rolagem chegou ao elemento
alert('#dois apareceu!');
}
});
#um {
background-color: #ddd;
height: 500px
}
#dois {
background-color: #eee;
height: 500px
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div id='um'>
div1
</div>
<div id='dois'>
div2
</div>
Try to detail better what you want to do.
– Taisbevalle