title: jQuery .offset setting y value
body: <p>I am a newbie to jQuery. Could someone answer this please?</p>
  
  <p>I know I will set layer1 to the position of layer2 with the following line of code.</p>
  
  <pre><code>$("#layer1").offset($("#layer2").offset());
  </code></pre>
  
  <p>How can I just set the y-value? I'm not sure about that.</p>
  
  <p>Thanks</p>