title: Assigning click event to multiple elements with different parameters
body: <p>I want to give a click event to many elements of the same type, but the function is depending on their position.</p>
  
  <p>I want the click to place a div under the clicked element.</p>
  
  <p>This is what I tried and it's not working.</p>
  
  <pre><code>$("#report-tabs .report-actions").each(function(){
      this.click(function(){
          var offset = $(this).offset();
          this.next().offset({left: offset.left});
      });
  });
  </code></pre>
  
  <p>Any suggestions?</p>