Getting the offset height of a div using javascript
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/11500253/accessing-the-height-of-div-in-javascript">Accessing the height of div in javascript</a>  </p>
</blockquote>



<p>We're trying to alter <a href="http://www.marghoobsuleman.com/jquery-image-dropdown" rel="nofollow">msdropdown</a> to "drop up" if the menu will go off the frame. In order to figure if that's going to happen we need to check the location of the drop down box relative to the frame that it's in. From there it's easy make the thing open upwards, but the location is troubling us. Getting the element by id doesn't seem to reach through the several frames to the one we're using. Is there an easy way to do this? </p>
