[jQuery] height of a hidden element
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">
.......
</div>
<div class="item">
<img src="test2.jpg">
<div class="other">
.......
.......
</div>
</div>
<div class="item">
.......
.......
.......
</div>
</div>