STYLE SWITCHER

Get “else” statement to work with jquery-waypoint

drupal-and-jquery-logos It appears you can capture a direction argument in the function:
$('#waypoint').waypoint(function(direction) {
  if(direction==="down") {
    $("p").animate({left:"300px"});
  } else {
    $("p").animate({left:"0px"});
  }
}, {
  offset: '70%'
});
Demo

Recent Article