title: AnythingSlider with dynamic height?
body: <p>I am using <a href="http://css-tricks.com/examples/AnythingSlider/" rel="nofollow">anythingslider</a> and have a problem.</p>
  
  <p>My content elements get loaded from a CMS and their height can vary. I would like to set the slider height to the height of the tallest element, but this doesn't seem to work.</p>
  
  <p>I tried it like this:</p>
  
  <pre><code>var max_height = 0;
  $(".canythingslider .ccontentelement").each(function() {
      var h = $(this).height();
      if(h &gt; max_height) {max_height = h;}
  });
  $(".canythingslider").css("height", max_height + "px");
  $(".canythingslider").anythingSlider();
  </code></pre>
  
  <p>Does anyone have an idea how to solve this?</p>