title: jQuery: height of a div based on a different div
body: <p>I'm trying to make the height of an element based on the height of a parent element in jQuery with little success. My code is as follows:</p>
  
  <pre><code>$(document).ready(function() {
      $('#nav li:hover ul li ul').height() = $('#nav li ul').height() - 5;
      $('#nav li ul li ul').height() = $('#nav li ul').height() - 5;
  });
  </code></pre>
  
  <p>Any ideas why this won't work?</p>