waypoint - return to default value (fadeOut)
<p>Iam using the <a href="http://imakewebthings.com/jquery-waypoints/" rel="nofollow">Waypoints</a> plugin. 
I have a list of divs, when i enter one div it should turn its opacity to 1, which works. but when i leave the view, it should again return to opacity 0.5.</p>

<pre><code>  function sDfunc(){  
  var el1 = $(".165");
  el1.waypoint(function(){      
      $(this).animate({ opacity: 1 });    

  },{
      offset: '40%'
  }); 
  var el2 = $(".166");
  el2.waypoint(function(){      

      $(this).animate({ opacity: 1 });  
  },{
      offset: '40%'
  });    

}
</code></pre>

<p>Can anyone help me, please?</p>
