Fiddle: http://jsfiddle.net/6jnh0beo/
I'm using a pure CSS text rotator for testimonials and trying to set the height of each testimonial with JS.
var testimonialHeight = $('li.testimonial').outerHeight();
$('ul.rotator').css('height', testimonialHeight);
This works but it only grabs the height of the first testimonial and doesn't update the inline style as the testimonials rotate. Since some of the testimonials are longer than others, it would be ideal if the inline style can update. Is there a way to make sure the inline style is updated for each testimonial?