![drupal-and-jquery-logos](http://codehints.in/wp-content/uploads/2015/01/drupal-and-jquery-logos.png)
$('#waypoint').waypoint(function(direction) { if(direction==="down") { $("p").animate({left:"300px"}); } else { $("p").animate({left:"0px"}); } }, { offset: '70%' });Demo
$('#waypoint').waypoint(function(direction) { if(direction==="down") { $("p").animate({left:"300px"}); } else { $("p").animate({left:"0px"}); } }, { offset: '70%' });Demo