Hello,
When I scroll, the function executes normally, but keeps repeating every time I continue with the mouse scroll. I would like to know how to make it run only once. I'm doing this:
$(window).scroll(function () {
var scrollTop = $(document).scrollTop();
if (scrollTop >= 100) {
$("#box").animate({
margin:'50px 0 0 0'
},600);//end animate
}
});//