Is posible that if i have a hidden div i cant get his height? I want to increase or decrease some font sizes according to the max height of those 3 divs to using with cycle plugin but because im only showing one at a time and the rest are hide i getting 0 as height
$('#rotate div .item') .each(function() { $(".msg").append($(this).height() + '-'); } ); <div ir="rotate"> <div class="item"> <img src="test1.jpg"> <p>.......</p> </div> <div class="item"> <img src="test2.jpg"> <div class="other"> <p>.......</p> <p>.......</p> </div> </div> <div class="item"> <p>.......</p> <p>.......</p> <p>.......</p> </div> </div>