title: jQuery: Changing Top Value
body: <p>I need to change the top value of an element(.zoomWindow) that has inline styles. The inline styles come from a JS plugin I'm using to zoom images. The parent of the element has position:relative, and the element itself has position absolute. Below is my code, but it doesn't seem to do anything.</p>
  
  <p>Code:</p>
  
  <pre><code>$(document).ready(function() {
     var blockHeight = $('#product-gallery .zoomPad:first-child &gt; img').height();
    $('.jqzoom:nth-child(3) .zoomWindow').css('top', blockHeight);   
  });
  </code></pre>