I think using innerHeight in dimensions overcomes this one.

Cheers.


Dan Atkinson wrote:
> 
> Hey there!
> 
> I'm currently doing some jQuery work on my blog which involves some a bit
> of code to handle internal link clicks (same domain, not #) which will
> change anything in the main content div:
>   * Sets the height of the main content div to the current height
>   * Fadeout the child elements and then empty on callback
> ($("div#content").children().fadeOut('slow',function(){$("div#content").empty();}))
>   * Repopulate with new content from server in AJAX call.
> 
> My problem here in all this is that the actual height (in px) isn't being
> returned in IE, but is being returned in Firefox. What IE returns is the
> CSS value of the div, but not the actual current value, which is what I
> want. Is there something I can use? I tried offsetHeight but that's not
> right.
> 
> Is there anything I'm missing?!
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Retriving-actual-height-of-element-in-IE-*and*-FF-tf2969737.html#a8310246
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to