Performance of offsetHeight and offsetWidth with dynamic content



I have a javascript that uses offsetHeight and offsetWidth to do some
layout of my page, however recently all the contents of my page are
injected dynamically in a div using innerHTML, now I notice
significant performance issues when getting offsetHeight and
offsetWidth. Is anybody familiar with this performance issue?
I will greatly appreciate any help.

Paul
.



Relevant Pages

  • Re: AxWebBrowser true document size problem
    ... While offsetHeight and offsetWidth are available via Javascript, ... doesn't appear to be any way of accessing those values via the DHTML Object ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: AxWebBrowser true document size problem
    ... > While offsetHeight and offsetWidth are available via ... > values is in my C# code not my Javascript. ... > that some values have been omitted from the Object Model ... DHTML Object Model is a set ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Is this impossible?
    ... offsetHeight. ... That just might be the beginning of FontMetrics in JavaScript. ...
    (comp.lang.javascript)