Klaus,
Humm, I still can't get the size of an element while it's hidden and
absolute...
I tried with an element:
style=display: none; position: absolute
and
alert(id: + elt.id + height: + elt.offsetHeight + width: +
elt.offsetWidth);
alert(id: + elt.id + style.height: +
Fred Janon wrote:
Hi,
I am trying to understand how the height of an element is calculated in
jQuery. I don't understand how the height can be calculated especially
when the element is hidden with display:none.
Thanks
Fred
Fred,
if the particular element is hidden, it is absolutely
I think its not calculated, but just the value from css
(elm.style.height). The Dimensions plugin does calculate it
(innerHeight, outerHeight - elm.offsetHeight).
On 16 jun, 16:49, Fred Janon [EMAIL PROTECTED] wrote:
Hi,
I am trying to understand how the height of an element is calculated in
3 matches
Mail list logo